Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use Google apps script for it.

A filter labels a specific email.

A timed trigger runs a script.

Script fetches all emails with that filter.

Script runs in loop. Convers each message into a blob, blob gets converted to pdf. Pdf gets saved in google drive. Email gets label removed.

My code was based on this https://www.labnol.org/code/19117-save-gmail-as-pdf



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: