Expanded require_login
Sendgrid setup