Passed all the parameters for mails