Mailer: Fix syntax errors. Modify Mail instance creating technique.