Added mailer class and use statements

To make it better readable I have added the class name and the needed use statements.