I want to delete some emails in my Gmail account connected via a local socks5 proxy, say, 127.0.0.1:18888. I tried to use this example with python 3.8/3.9, but all failed.
Any hints for this job will be highly appreciated.
Regards,
HY
I want to delete some emails in my Gmail account connected via a local socks5 proxy, say, 127.0.0.1:18888. I tried to use this example with python 3.8/3.9, but all failed.
Any hints for this job will be highly appreciated.
Regards,
HY
For deleting emails in Gmail you should look into GMail API documentation. Gmail API | Google Developers
There’s a Python client for it. Here’s the quick start guide Python Quickstart | Gmail API | Google Developers