Skip to content

Instantly share code, notes, and snippets.

@chemputer
Last active September 13, 2024 08:05
Show Gist options
  • Save chemputer/0732c1a5b2464fcea40019077abfed7b to your computer and use it in GitHub Desktop.
Save chemputer/0732c1a5b2464fcea40019077abfed7b to your computer and use it in GitHub Desktop.
MarkAllEmailsAsRead.ipynb

Mark All Emails As Read Instantly, Gmail

Very simple script executable either in Google Colab or just in Python3 to go through your Gmail (I assume it would work with other email providers that support IMAP, but have not tested it)

Two requirements:

  • IMAP
  • App Password
    • if 2FA is enabled, otherwise just your password works
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment