I'm trying to create a Gmail web add-in using apps-script in which I am trying to do the following things:
- make an API call on receiving an email.
- label emails.
- move emails to
- spam. get all emails of a specific folder.
Is this possible? If Yes then how? Please give me the links to any documentation or tutorials for the same.