Sample code for linking an email address to a browser device token