mails are not always sent