php - Google App Script to get email from gmail into a third party application -


i need write google app script reads unread email , sends body , sender details php application external. functionality want script should run every 5 minutes , update in mysql database details of mail i.e. sender, body , date if there unread mail. not sure if possible create interface connect app script external php application. there way this?

you should use php imap functions: imap_open, imap_fetchheader, imap_body etc.


Comments