Fix for mails not sending?