add emails and logging to salesforce register