Fixes #661 Added a language parameter to the addMail function.

space after "if"