comment: |-
  http://xavid.scripts.mit.edu/hitherby/edit/email/PacketEmails
name: Casting Emails
product: |-
  <<foreach PC c>>
  | [[c]] | <<editable c.player/>> | <<editable c.email/>> | <<editable c.gender/>>
  <<if c.email>>
  <<email to=(c.player + ' <' + (c.email+'@mit.edu' if '@' not in c.email else c.email) + '>') 
          from="hitherby-gms@mit.edu" cc="hitherby-gms@mit.edu"
          subject=("Character Packet: "+c.name)
          attachment=("/print/" + c.name + ".pdf")>>
  Your character packet is attached.  If you have any questions, please
  email us at hitherby-gms@mit.edu.  Otherwise, see you Sunday!

  ~~the Hitherby GMs
  <</email>>
  <</if>>
  <</foreach>>
