added comments to mailer class