Make lottery notification e-mail more reliable
Currently, the lottery notification mailer method calculates the group rank at the time that the e-mail is actually sent, not when it is queued. We want to pass the rank data into the actual mailer method as an argument so that the data is consistent.
See !978 (merged) for a similar example where we changed how we pass data to some e-mails.
Edited by Oren Kanner