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
An Telegram Bot By @ZauteKm To Stream Videos In Telegram Voice Chat Of Both Groups & Channels. Supports Live Streams, YouTube Videos & Telegram Media !!

Telegram Video Stream Bot (Py-TgCalls) An Telegram Bot By @ZauteKm To Stream Videos In Telegram Voice Chat Of Both Groups & Channels. Supports Live St

Zaute Km 14 Oct 21, 2022
Adds a new git subcommand named "ranch".

Git Ranch This script adds ranch, a new subcommand for git that makes it easier to order 1 Gallon of Kraft Ranch Salad Dressing from Amazon. Installat

Austin T Schaffer 8 Jul 06, 2022
A Telegram Bot Written In Python

TelegraphUploader A Telegram Bot Written In Python DEPLOY Local Machine Clone the repository Install requirements: pip3 install -r requirements.txt e

Wahyusaputra 2 Dec 29, 2021
Create custom Vanity URLs for Discord without 30 boosts

CustomVanity - Made by udp#6666 aka Apolo - OpenSource Custom Discord Vanity Creator How To Use Open CustomVanity.py Write your server invite code Wri

apolo 17 Aug 23, 2022
This repository will (hopefully) always contain the latest version of the libProfessorP.asm.so shared object.

libPuhfessorP - Deploy Repo This repo should (hopefully) always contain the latest version of the libPuhfessorP.asm.so shared object, to be linked wit

Puhfessor P - CPSC 240 3 Sep 30, 2021
Url-shortener - A url shortener made in python using the API's from the pyshorteners lib

URL Shortener Um encurtador de link feito em python usando as API's da lib pysho

Spyware 3 Jan 07, 2022
Получение интересной информации о любой пиццерии Додо

dodopizza-abuse Получение инфорации о выбранной пиццерии Додо Установка и запуск на Linux Устанавливаем git и python: apt-get update && apt-get -y ins

Хозя 24 Nov 02, 2022
Spotify playlist anonymizer.

Spotify heavily personalizes auto-generated playlists like Song Radio based on the music you've listened to in the past. But sometimes you want to listen to Song Radio precisely to hear some fresh so

Jakob de Maeyer 9 Nov 27, 2022
Asynchronous RDP/VNC client for Python (GUI)

🚩 This is the public repository of aardwolf, for latest version and updates please consider supporting us through https://porchetta.industries/ AARDW

29 Dec 15, 2022
A Telegram bot for Download songs in mp3 format from YouTube and Extract lyrics from Genius.com ❤️

MeudsaMusic A Telegram bot for Download songs in mp3 format from YouTube and Extract lyrics from Genius.com ❤️ Commands Reach @MedusaMusic on Telegram

Bibee 14 Oct 06, 2022
Python script to delete old / embarrassing tweets.

Delete Tweets Do you have hundreds of embarrassing tweets on your Twitter profile, that you tweeted over a decade ago as an innocent high schooler, th

Linda Zheng 9 Nov 26, 2022
Token Manager written in Python

Discord-API-Token-Entrance Description This is a Token Manager that allows your token to enter your discord server, written in python. Packages Requir

Tootle 1 Apr 15, 2022
Simple Bot With Python 3.8+ For Converstaion Your Media

Media-Conversation Simple Bot With Python 3.8+ For Converstaion Your Media

Farzin 2 Dec 06, 2021
Bancos de Dados Relacionais (SQL) na AWS com Amazon RDS

Bancos de Dados Relacionais (SQL) na AWS com Amazon RDS Repositório para o Live Coding DIO do dia 24/11/2021 Serviços utilizados Amazon RDS AWS Lambda

Cassiano Ricardo de Oliveira Peres 4 Jul 30, 2022
Discord bot do sprawdzania ceny pizzy.

Discord bot do sprawdzania ceny pizzy w pizzeri Bombola. Umieszczony jest na platformie Heroku, dzięki czemu działa 24/7. Commands List Info: Jako com

1 Sep 18, 2021
Read API docs offline, CLI, supports DevDocs.io compatible JSON files

Read API docs offline, CLI, supports DevDocs.io compatible JSON files

Tero Karvinen 3 Oct 18, 2022
Dumps to CSV all the resources in an organization's member accounts

AWS Org Inventory Dumps to CSV all the resources in an organization's member accounts. Set your environment's AWS_PROFILE and AWS_DEFAULT_REGION varia

Iain Samuel McLean Elder 2 Dec 24, 2021
Telegram bot to provide links of different types of files you send

File To Link Bot - IDN-C-X Telegram bot to provide links of different types of files you send. WHAT CAN THIS BOT DO Is it a nuisance to send huge file

IDNCoderX 3 Oct 26, 2021
A simple and stupid Miinto API wrapper

miinto-api-wrapper Miinto API Wrapper is a simple python wrapper for Miinto API. Miinto is a fashion luxury marketplace. For more information see the

Giuseppe Checchia 3 Jan 09, 2022