d attachment from disk via uid or url. 1.If hold lots of message objects including attachments and bodypart will be a bad idea, so design a class mail summary which only contains information such as sender, receiver and this type of simple things, body part and attachments will be presented as uid or a link, by doing this mail part can integrate into our platform, it means mailsummary can be saved