Fixed a small issue with email sending service. Wrong use of params led to problems with wasEmailSent method.