Used the native mailer to send error mails