I want to do the following job:
- Access my Gmail account via a local socks5 proxy running on 127.0.0.1:18888;
- Delete some emails based on specific criterion, say, all emails whose from/to/cc/bcc fileds are not including the Gmail account itself.
Any tips for using Python to achieve this?
Regards,
HY