Managing base64 attachment (not tested).