web2py/web2py — pull request #255 by spametki (2013-10-12 20:33:36+00:00)
Title: IMAP: insert support for base64 attachment payload

This patch adds support for encoded binary attachment contents for the insert. The imapdb.insert command will automatically set the transfer encoding part header when specified. By default expects a text file attachment with utf-8 charset.