fixing mails send in production