View Source Rivet.Email (rivet_email v1.0.7)
send(recip, template) send(recip, template, args)
For each good recipient call template.format(%@email_model{}, args), where email.user is preloaded on %@email_model{}
recip
can be one or list of: user id, auser_model
, or aemail_model
(models are defined ...opts
(optional) is a dictionary with key/value attributes to use in the template