Have you ever wanted to delete emails in your mail box but you know it will take a lot of your time and effort to do it manually ?
- Delete Mails from a Specific Sender
- Delete Mails for a particular Time Periods.
- Delete Mails having a Particular Subject!
- Lets see How Python comes to our rescue!
We gonna be using the Python built-in's imaplib module, but if you want to use some sort of API, we have a tutorial on how to use Gmail API where we show how to read, send and delete emails in Python.
- To generate App Password
- https://support.google.com/accounts/answer/185833
This library is released under the MIT License.