Updated Flexi Auth to handle sending emails via SMTP accounts