Fix lockout email delivery