[FIX] Key error when there are no SMTP env. vars