-1

As you know, Gmail has a feature for sending emails on a specific date. Although I have found many tutorials about sending emails directly, it seems there is no idea for using the Gmail scheduling feature in python. How we should do it?
I should note that I do not want to schedule my code and run it at a specific time.

  • 1) [Scheduling an email with the Gmail API](https://stackoverflow.com/q/55988769/10824407); 2) [Can you schedule emails on Gmail via GmailAPI?](https://stackoverflow.com/q/62883011/10824407); 3) [Gmail now supports scheduling emails, how does is work using the gmail rest api, or is the api supporting this feature?](https://stackoverflow.com/q/55915606/10824407). All still the same. – Olvin Roght Jan 16 '22 at 17:05

1 Answers1

0

You can use 2 of these for schedualing tasks.

  1. APschedualer: https://apscheduler.readthedocs.io/en/3.x/ or
  2. Celery: https://docs.celeryproject.org/en/stable/getting-started/introduction.html

The celery is more complex. I recommend you to use the first option.

ThangTu
  • 41
  • 1
  • 9