You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's really reassuring to first generate a drafts and then send those drafts. It would be nice to have a little tooling around this workflow, particularly if you're sending a few hundred emails and want to be able to easily resume if anything bad happens part way through.
At a minimum, I think this just needs gm_create_drafts() (takes a list of mimes) and gm_send_drafts() (takes return value of gm_create_drafts()). Empirically it also seems like you need to sleep between each call to gm_send_draft() in order to avoid this error:
(Sleeping for 1 second worked for me; I also tried 0.1 and 0.5 which weren't long enough)
This means it's likely to take some time to send all the drafts, so it would also be nice to display a progress bar. Creating the drafts also seems relatively slow, so a progress bar would help there.
The text was updated successfully, but these errors were encountered:
It's really reassuring to first generate a drafts and then send those drafts. It would be nice to have a little tooling around this workflow, particularly if you're sending a few hundred emails and want to be able to easily resume if anything bad happens part way through.
At a minimum, I think this just needs
gm_create_drafts()
(takes a list of mimes) andgm_send_drafts()
(takes return value ofgm_create_drafts()
). Empirically it also seems like you need to sleep between each call togm_send_draft()
in order to avoid this error:(Sleeping for 1 second worked for me; I also tried 0.1 and 0.5 which weren't long enough)
This means it's likely to take some time to send all the drafts, so it would also be nice to display a progress bar. Creating the drafts also seems relatively slow, so a progress bar would help there.
The text was updated successfully, but these errors were encountered: