I have a rpi 4 which i want a script i can run on it so it sends emails to google.
I use Gmail to retrieve 5 email account POP external accounts, apparently the more the account is used the faster it checks.
Ideally, i would like a gui so i can add email addresses to it and set the name of the email and also the frequency, so i can control. It then adds to a list of emails auto sending. If i want to stop that email auto sending then i just click the stop button, or the x to delete it totally. (see example i drew)
I would like a script that can do this. Here is the official documentation for it to help you.
Gmail pulls e-mails from your POP account based on how frequently you receive e-mails. So to increase the update frequency - you need to have a lot of e-mails sent to your account constantly.
You can write a simple script in python that runs on your local computer to send your POP account an e-mail every 30 seconds. Program the automated message to have a unique identifier like the from address or subject so you can add a filter in Gmail to mark as read and trash the 100s of e-mails you'll send yourself.