@jssandeep,
Thank you for contacting Aspose support team.
Aspose.Email for Java provides rich features for accessing gmail server using IMAP client. You may please visit following article to fetch full message and save on disc.
[Fetch message and save on disc ](https://docs.aspose.com/display/emailjava/Fetching+Messages+and+Saving+to+Disc#FetchingMessagesandSavingtoDisc-FetchMessagesByMessageIdandSavetoDisc)
Please feel free to write us back if you have any other query in this regard. If you want to test Aspose.Email without evaluation version limitations, request a 30-day temporary license. Please refer to How to get a Temporary License? for more information.