Feature/test email endpoint