support for text body and multipart messages