Fix sending mails without authentication