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
A file-based quote bot written in Python

Let's Write a Python Quote Bot! This repository will get you started with building a quote bot in Python. It's meant to be used along with the Learnin

1 Jan 19, 2022
Twitter Analysis of MIUUL CEO

Twitter Analysis of MIUUL CEO Business Problem I got last @mvahitkeskin 184 twee

Çağrı Karadeniz 6 Mar 12, 2022
A Python AWS Lambda Webhook listener that generates a permanent URL when an asset is created in Contentstack.

Webhook Listener A Python Lambda Webhook Listener - Generates a permanent URL on created assets. See doc on Generating a Permanent URL: https://www.co

Contentstack Solutions 1 Nov 04, 2021
Discord bot to administer IITD Study Servers (unofficial)

IITD-Bot Discord bot to administer IITD'20 Acad Server Commands hello to check if bot is online ?help to display this message ?set kerberos to set y

Aditya Singh 47 Dec 19, 2022
Using AWS Batch jobs to bulk copy/sync files in S3

Using AWS Batch jobs to bulk copy/sync files in S3

AWS Samples 14 Sep 19, 2022
A modern Python client for controlling Wyze devices.

Python Wyze SDK A modern Python client for controlling Wyze devices. Whether you're building a custom app, or integrating into a third-party service l

Shaun Tarves 205 Jan 02, 2023
An information scroller Twitter trends, news, weather for raspberry pi and Pimoroni Unicorn Hat Mini and Scroll Phat HD.

uticker An information scroller Twitter trends, news, weather for raspberry pi and Pimoroni Unicorn Hat Mini and Scroll Phat HD. Features include: Twi

kottuora 5 Oct 31, 2022
TESSARECT A Powerful Bot you'll ever need for anything

Tessarect TESSARECT A Powerful Bot you'll ever need for anything TESSARECT It is my First bot but very advanced and designed for all your needs , from

Prakarsh Prp 4 Aug 27, 2022
Univerity-student oriented (lithuanian) discord bot

Univerity-student oriented (lithuanian) discord bot

3 Nov 30, 2021
Os-Remoter with Python (Telegram Bot)

Remote-Os Os-Remoter with Python (Telegram Bot) [1] First install "python -m pip install --upgrade pip" [2] Second install the modules inside file ins

Alisa Alikhani 2 Nov 09, 2022
A simple object model for the Notion SDK.

A simplified object model for the Notion SDK. This is loosely modeled after concepts found in SQLAlchemy.

Jason Heddings 54 Jan 02, 2023
Bot for tenhou.net riichi mahjong server written in Python

[Tests coverage] Bot was tested with Python 3.7+ and PyPy3, we are not supporting Python 2. What do we have here? Mahjong hands calculation You can fi

190 Jan 06, 2023
A compatability shim between Discord.py and Hikari.

Usage as a partial shim: import discord import hikari import hikari_shim dpy_bot = discord.Client(intents=discord.Intents.all(), enable_debug_events=

EXPLOSION 3 Dec 25, 2021
A Telegram bot for Minecraft names

MCTelegramBot About this project This bot allows you to see data about minecraft names in Telegram, it has a few commands such as: /names - Show dropp

Kami 5 May 14, 2022
A module to get data about anime characters, news, info, lyrics and more.

Animec A module to get data about anime characters, news, info, lyrics and more. The module scrapes myanimelist to parse requested data. If you wish t

DriftAsimov 31 Aug 31, 2022
A Simple and User-Friendly Google Collab Notebook with UI to transfer your data from Mega to Google Drive.

Mega to Google Drive (UI Added! 😊 ) A Simple and User-Friendly Google Collab Notebook with UI to transfer your data from Mega to Google Drive. ⚙️ How

Dr.Caduceus 18 Aug 16, 2022
POC de uma AWS lambda que executa a consulta de preços de criptomoedas, e é implantada na AWS usando Github actions.

Cryptocurrency Prices Overview Instalação Repositório Configuração CI/CD Roadmap Testes Overview A ideia deste projeto é aplicar o conteúdo estudado s

Gustavo Santos 3 Aug 31, 2022
A python wrapper for the mangadex API V5. Work in progress

mangadex A python wrapper for the mangadex API V5. It uses the requests library and all the aditional arguments can be viewed in the Official Mangadex

Eduardo Ceja 27 Dec 14, 2022
DoriBot -Discord Chat Bot

DoriBot -Discord Chat Bot Please do not use these source files for commercial use. Be sure to mark the source. 이제 더이상의 메이저 업데이트는 없습니다. 마이너 업데이트들은 존재합니

queenanna1999 0 Mar 30, 2022