Debugged the mailer library