The send_mail() primitive now supports attachments.

  If you pass a table in the "attachments" key they will be
 added to the outgoing mail.