added debug email for authentication in debug builds