Use event dispatcher in Mailer class and fire an event when sending an email