Fixed bug in Lean\Mailer class
Refactored.