Fix infinite loop in auth.
Send emails from different name when not in prod.
Fix several typos in email notify.
Remove console.log.