Add handling of multipart messages to mail_to_note.
Anything other than the first part /i.e./ any attachements should be saved as files and linked from a section at the bottom of the message.
The format should be something like:
[1] foo_bar.py
[2] baz.tex