- Connect to Gmail.
- Fetch Unread Email and store the following information in DB
- Simple list of email from and subject and on click the subject show content of email in html format with attachment and inline images.
Note:
-
enable imap/pop for the specific email whose unread email need to be stored like here https://support.google.com/mail/answer/7126229?hl=en
-
enable less secure apps like here https://myaccount.google.com/u/3/lesssecureapps