Gmail App Script as a scheduled task to automatically block all spam emails and domain names.
Help: ChatGPT and other tutorials helped me identify the syntax for my dream of a more automated spam fighter. So I appreciated the help.
- Can be custom time triggered to run as often as you want
- Any email in your spam filter will be blocked from future emails
- Check for all emails in the spam folder
- Get both the from email address and it's domain name
- Create New Filter to block all emails from both.
- Move email to trash
- Go to the Google App Script Editor
- https://script.google.com/home/
- Create New Project
- Copy N Paste Script
- Setup Google Authentication so it can access your Gmail Account
- Create Time Triggers to execute this script as often as you wish
- Global Spam List - To help us all block more spam
- Send Data to Spam Reporting Sites - To reduce amount of spam
- Browser Extension