Stop sending emails on every login when email_verification is optional (closes #310)