I have GAE application. I have Emails to the NoSQL and their refresh tokens of google Drive. I have Cron job which fires Push queue for each PDF in order to download this.
No I want to send email to each user about their PDF data.
I cant send email for each document (for example if user test@gmail.com have 10 pdf document), I can send 10 email to this mail - each pdf task sends each mail.
BUT how to collect users data and send together?
Each task work on each PDF. I should collect each user data together. and I shoud send one email about all the document (in my example, one email want to contain 10 pdf document data).
I have one idea - to save that data in Datastore, and next day another , another Cron job will collect data from DB and send mails. is this way good?