amartyaamp / NestorBot

A chatbot to handle common repetitive enterprise mail tasks to give more bandwidth to an individual increasing productivity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use Gmail API to get last 5 mails from a particular sender

amartyaamp opened this issue · comments

We will use the Gmail API to read mails from a particular sender. It should have a particular common interface to do this -

read_mail_from(sender) ---- returns a list of mail objects (As defined by in send_mail request)