Is it possible to automatically trigger a Google apps script with gmail when I get a new email?
Not possible. Instead use a time trigger to check for new mails to process. One way to do it is by using a gmail rule to label the ones you will process. Then only get emails with that label.
2.1m questions
2.1m answers
60 comments
57.0k users