Manage gmail account using python, forget about imap and just code what you supposed to do.

Overview

GGmail

GGmail Continuous Integration codecov License: MIT

Manage gmail account using python, forget about imap and just code what you supposed to do.

Help

See documentation for more details.

Install

Install using pip install ggmail.

A Simple Example

from ggmail import Account
from ggmail.policy import from_contains, flagged

account = Account(username="[email protected]", password="secret")
with account:
    inbox = account.inbox()
    mailbox = account.create_mailbox("Favorite")
    policy = from_contains("[email protected]") + flagged
    messages = inbox.search(policy)

    for message in messages:
        message.copy(mailbox)

Additional Information

Why not use imbox instead ?

https://github.com/martinrusev/imbox is less high level than ggmail. I wanted something even more human than imbox.

Why not use gmail instead ?

https://github.com/charlierguo/gmail seems to be dead.

You might also like...
A surviv.io bot that helps you manage you clan in surviv.io!

Scooter-Surviv.io-Clan-Bot A Surviv.io Discord Bot This is a bot that helps manage your surviv.io clan! Read below for more!!. Features Lets you creat

A custom Discord Rich Presence to display when you're studying so you're stupid friends won't disturb you when you're studying.

Studying RPC Description A custom Discord Rich Presence to display when you're studying so you're stupid friends won't disturb you when you're studyin

A script to generate the m3u playlist containing direct streamable file (.mpd or MPEG-DASH or DASH) based on the channels that the user has subscribed on the Tata Sky portal. You just have to login using your password or otp that's it . A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources
A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources

A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources

Elon Muschioso is a Telegram bot that you can use to manage your computer from the phone.

elon Elon Muschioso is a Telegram bot that you can use to manage your computer from the phone. what does it do? Elon Muschio makes a connection from y

Instagram Brute force attack helps you to find password of an instagram account from your list of provided password.
Instagram Brute force attack helps you to find password of an instagram account from your list of provided password.

Instagram Brute force attack Instagram Brute force attack helps you to find password of an instagram account from your list of provided password. Inst

CDIoU and CDIoU loss is like a convenient plug-in that can be used in multiple models. CDIoU and CDIoU loss have different excellent performances in several models such as Faster R-CNN, YOLOv4, RetinaNet and . There is a maximum AP improvement of 1.9% and an average AP of 0.8% improvement on MS COCO dataset, compared to traditional evaluation-feedback modules. Here we just use as an example to illustrate the code.
A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram.

telegram-logger A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram. Requirements Python 3.6

Releases(v0.4.1)
  • v0.4.1(Sep 23, 2022)

  • v0.4.0(Sep 23, 2022)

    ⚠️ The project is still under active development, should not be used in production. Until 1.0.0, breaking changes can be included in MINOR versions.

    [0.4.0] - 2022-09-23

    Bug Fixes

    • Encoding error with weird emails
    • Release script

    Features

    • Add outlook authentification (#26)

    Miscellaneous Tasks

    • Upgrade dependencies
    Source code(tar.gz)
    Source code(zip)
    ggmail-0.4.0.tar.gz(9.22 KB)
  • v0.3.2(Oct 20, 2021)

    ⚠️ The project is still under active development, should not be used in production. Until 1.0.0, breaking changes can be included in MINOR versions.

    [0.3.2] - 2021-10-20

    Bug Fixes

    • Try several decoders when unknown bytes (#23)
    • Add missing bits flag (#24)
    • Fetching messages (#25)
    Source code(tar.gz)
    Source code(zip)
    ggmail-0.3.2.tar.gz(8.97 KB)
  • v0.3.1(Oct 19, 2021)

  • v0.3.0(Oct 18, 2021)

    ⚠️ The project is still under active development, should not be used in production. Until 1.0.0, breaking changes can be included in MINOR versions.

    [0.3.0] - 2021-10-18

    Bug Fixes

    • Message body can be nullable (#21)

    Features

    • Add oauth2 authentication (#20)

    Miscellaneous Tasks

    • Update codecov actions to v2 (#19)
    • Add instability warning for cd
    Source code(tar.gz)
    Source code(zip)
    ggmail-0.3.0.tar.gz(8.76 KB)
  • v0.2.0(Oct 13, 2021)

    ⚠️ The project is still under active development, should not be used in production. Until 1.0.0, breaking changes can be included in MINOR versions.

    [0.2.0] - 2021-10-13

    Documentation

    • Add pypi badges

    Features

    • Handle uids correctly (#16)
    • Add search uids to mailbox (#17)

    Miscellaneous Tasks

    • Add ci (#18)
    • Update codecov actions to v2
    Source code(tar.gz)
    Source code(zip)
    ggmail-0.2.0.tar.gz(8.55 KB)
  • v0.1.0(Oct 11, 2021)

    ⚠️ The project is still under active development, should not be used in production. Until 1.0.0, breaking changes can be included in MINOR versions.

    What's Changed

    • Add Continuous Integration by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/1
    • Fix mailbox factory parsing by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/2
    • Add mailbox selection by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/3
    • Move & rename mailbox by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/4
    • Add select mailbox by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/5
    • Add search mail by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/6
    • Add account as a context manager by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/7
    • Add all missing policies by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/8
    • Add create mailbox by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/9
    • Add delete mailbox by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/10
    • Add flags for message by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/11
    • Add remove and add flag for message by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/12
    • Add flake 8 by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/13
    • Add move & copy message by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/14
    • Small changes before release by @dylandoamaral in https://github.com/dylandoamaral/ggmail/pull/15

    New Contributors

    • @dylandoamaral made their first contribution in https://github.com/dylandoamaral/ggmail/pull/1

    Full Changelog: https://github.com/dylandoamaral/ggmail/commits/v0.1.0

    Source code(tar.gz)
    Source code(zip)
Owner
Dylan Do Amaral
Scala is a beautiful playground 🎢
Dylan Do Amaral
🎵 RythmReloaded 🎵 A bot that can play music on Telegram Group and Channel Voice Chats

🎵 RythmReloaded 🎵 A bot that can play music on Telegram Group and Channel Voice Chats POWERED BY MARSHALX TGCALLS Available on telegram as @OptimusP

0 Nov 03, 2021
Using twitter lists as your feed

Twitlists A while ago, Twitter changed their timeline to be algorithmically-fed rather than a simple reverse-chronological feed. In particular, they p

Peyton Walters 5 Nov 21, 2022
Reverse engineering the dengue virus (under development construction)

Reverse engineering the dengue virus (under development 🚧 ) What is dengue? Dengue is a viral infection transmitted to humans through the bite of inf

kjain 4 Feb 09, 2022
A python package to easy the integration with Direct Online Pay (Mpesa, TigoPesa, AirtelMoney, Card Payments)

A python package to easy the integration with Direct Online Pay (DPO) which easily allow you easily integrate with payment options once without having to deal with each of them individually;

Jordan Kalebu 2 Nov 25, 2021
Ever wanted a dashboard for making your antispam? This is it.

Ever wanted a dashboard for making your antispam? This is it.

Skelmis 1 Oct 27, 2021
Awslogs - AWS CloudWatch logs for Humans™

awslogs awslogs is a simple command line tool for querying groups, streams and events from Amazon CloudWatch logs. One of the most powerful features i

Jorge Bastida 4.5k Dec 30, 2022
Discord-RAID-Tool - Hacks/tools

How to use Python must be installed run install-config If you dont have python installed, download python 3.7.6 and make sure you click on the 'ADD TO

1 Jan 01, 2022
a list of disposable and temporary email address domains

List of disposable email domains This repo contains a list of disposable and temporary email address domains often used to register dummy users in ord

1.6k Jan 08, 2023
Python wrapper for Coinex APIs

coinexpy - Python wrapper for Coinex APIs Through coinexpy you can simply buy or sell crypto in your Coinex account Features place limit order place m

Iman Mousaei 16 Jan 02, 2023
Prisma Cloud utility scripts, and a Python SDK for Prisma Cloud APIs.

pcs-toolbox Prisma Cloud utility scripts, and a Python SDK for Prisma Cloud APIs. Table of Contents Support Setup Configuration Script Usage CSPM Scri

Palo Alto Networks 34 Dec 15, 2022
Periodically check the manuscript state in the scholar one system and send email when finding a new state.

ScholarOne-manuscript-checker Periodically check the manuscript state in the scholar one system and send email when finding a new state. Parameters ne

2 Aug 18, 2022
An unofficial python wrapper for the comdirect API for private consumers.

An unofficial python wrapper for the comdirect API for private consumers.

Alexander Knittel 18 Nov 30, 2022
Dodo - A graphical, hackable email client based on notmuch

Dodo Dodo is a graphical email client written in Python/PyQt5, based on the comm

Aleks Kissinger 44 Nov 12, 2022
Python wrapper for the Intercom API.

python-intercom Not officially supported Please note that this is NOT an official Intercom SDK. The third party that maintained it reached out to us t

Intercom 215 Dec 22, 2022
A heraldry-related bot, designed for the Heraldry Community.

Heraldtron A heraldry-related bot, designed for the Heraldry Community. Requirements Python 3.9+ discord.py aiohttp (comes installed with discord.py)

1 Mar 31, 2022
Yes, it's true :orange_heart: This repository has 346 stars.

Yes, it's true! Inspired by a similar repository from @RealPeha, but implemented using a webhook on AWS Lambda and API Gateway, so it's serverless! If

512 Jan 01, 2023
Some examples regarding how to use the Twitter APIs for academic research

Twitter Developer Platform: Using Twitter APIs for Academic Research All the scripts require a config.ini file in which the keys are put. There is a t

Federico Bianchi 6 Feb 13, 2022
Bin Checker with Aiogram, Telegram

Bin Checker with Aiogram, Telegram

JEFF 1 Aug 16, 2022
Another Autoscaler is a Kubernetes controller that automatically starts, stops, or restarts pods from a deployment at a specified time using a cron annotation.

Another Autoscaler Another Autoscaler is a Kubernetes controller that automatically starts, stops, or restarts pods from a deployment at a specified t

Diego Najar 66 Nov 19, 2022
A free, minimal, lightweight, cross-platform, easily expandable Twitch IRC/API bot.

parky's twitch bot A free, minimal, lightweight, cross-platform, easily expandable Twitch IRC/API bot. Features 🔌 Connect to Twitch IRC chat! 🔌 Conn

Andreas Schneider 10 Dec 30, 2022