I am trying to use the new email class to save an file attached to an email In it's very simplest form data = msg.get_payload(1,True) won't return the decoded data How might I get the data out and save it to a file? It is always in the 2nd part of the MIME Message and base64 encoded... fun, fun, fun... TIA Simon