Fixed sending mails