mailer's __construct was not implemented