Manage allowed emails and device links
New rows start with an empty phone_id until the external API links a device.
Clearing phone_id keeps the row and only removes the linked device id.
phone_id