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
𝐀 𝐦𝐨𝐝𝐮𝐥𝐚𝐫 𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦 𝐆𝐫𝐨𝐮𝐩 𝐦𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭 𝐛𝐨𝐭 𝐰𝐢𝐭𝐡 𝐮𝐥𝐭𝐢𝐦𝐚𝐭𝐞 𝐟𝐞𝐚𝐭𝐮𝐫𝐞𝐬 !!

𝐇𝐨𝐰 𝐓𝐨 𝐃𝐞𝐩𝐥𝐨𝐲 For easiest way to deploy this Bot click on the below button 𝐌𝐚𝐝𝐞 𝐁𝐲 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐆𝐫𝐨𝐮𝐩 𝐒𝐨𝐮𝐫𝐜𝐞𝐬 𝐆𝐞𝐧𝐞?

Mukesh Solanki 4 Oct 18, 2021
ClearML - Auto-Magical Suite of tools to streamline your ML workflow. Experiment Manager, MLOps and Data-Management

ClearML - Auto-Magical Suite of tools to streamline your ML workflow Experiment Manager, MLOps and Data-Management ClearML Formerly known as Allegro T

ClearML 3.9k Jan 01, 2023
Crypto Signal Provider - A web application that allows users to select a cryptocurrency

Crypto_Signal_Provider This is a web application that allows users to select a c

Raul 2 Dec 11, 2022
Discord Blogger Integration Using Blogger API

It's a very simple discord bot created in python using blogger api in order to search and send your website articles in your discord chat in form of an embedded message. It's pretty useful for people

Owen Singh 8 Oct 28, 2022
A self-hosted Discord music bot.

Cassette A self-hosted Discord music bot. Requirements py-cord pynacl pytube Setup Intended to be hosted on Heroku. Fork or clone this repo. Create a

Lohan 8 Apr 28, 2022
This is a simple Telegram bot to Delete User Messages based on Groupmembers Votes. Heroku deployable

ibCleaner Bot This is a simple Telegram bot to Delete User Messages based on Groupmembers Votes. Deploy to Heroku Deploy locally Edit config.py and ad

8 Oct 21, 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
Bot that embeds a random hysterical meme from Reddit into your text channel as an embedded message, using an API call.

Discord_Meme_Bot 🤣 Bot that embeds a random hysterical meme from Reddit into your text channel as an embedded message, using an API call. Add the bot

2 Jan 16, 2022
A Telegram Bot to Play Audio in Voice Chats With Youtube and Deezer support. Supports Live streaming from youtube Supports Mega Radio Fm Streamings

Bot To Stream Musics on PyTGcalls with Channel Support. A Telegram Bot to Play Audio in Voice Chats With Supports Live streaming from youtube and Mega

Shamil Habeeb 37 Dec 15, 2022
✨ Music&Video Userbot

🎶 Fizi - UserBot 🎶 🤖 Telegram UserBot Untuk Memutar Lagu Dan Video Di Obrolan Suara Telegram. ✨ Didukung Oleh PyTgCalls Pyrogram 📝 Persyaratan Pyt

F I Z I • Ɱeƙípres 4 Mar 29, 2022
Pdisk Link Converter Telegram Bot, Convert link in a single click

Pdisk Converter Bot Make short link by using Pdisk API key Installation The Easy Way Required Variables BOT_TOKEN: Create a bot using @BotFather, and

Ayush Kumar Jaiswal 6 Jul 28, 2022
A multipurpose, semi-modular Discord bot written in Python with the new discord.py module.

Discord.py Reaction Bot MIRAI KURIYAMA A multipurpose, semi-modular Discord bot written in Python with the new discord.py module. Installing dependenc

1 Dec 02, 2021
PyManGenerator is a token generator for discord, it joins servers using webbot to automate everything

PyManGenerator is a token generator for discord, it joins servers using webbot to automate everything. Captcha can be done by itself unless you used your current IP Address more than once.

5 Nov 27, 2021
Posts locally saved videos to the desired subreddit

redditvideoposter posts locally saved videos to the desired subreddit ================================================================= STEPS: pip ins

Kyrus 2 Dec 01, 2021
A simple script that loads and hot-reloads cogs when you save any changes

DiscordBot-HotReload A simple script that loads and hot-reloads cogs when you save any changes Usage @bot.event async def on_ready(): from HotRelo

2 Jan 14, 2022
Jackrabbit Relay is an API endpoint for stock, forex and cryptocurrency exchanges that accept REST webhooks.

JackrabbitRelay Jackrabbit Relay is an API endpoint for stock, forex and cryptocurrency exchanges that accept REST webhooks. Disclaimer Please note RA

Rose Heart 23 Jan 04, 2023
A python to scratch API connector. Can fetch data from the API and send it back in cloud variables.

Scratch2py Scratch2py or S2py is a easy to use, versatile tool to communicate with the Scratch API Based of scratchclient by Raihan142857 Installation

20 Jun 18, 2022
Official Python client for the MonkeyLearn API. Build and consume machine learning models for language processing from your Python apps.

MonkeyLearn API for Python Official Python client for the MonkeyLearn API. Build and run machine learning models for language processing from your Pyt

MonkeyLearn 157 Nov 22, 2022
Instagram story report with python

instagram-story-report Mass reports a victim stories. Made for fun, but can be used for chaos Single session and multi session support Login, choose a

Joshua Solo 8 May 08, 2022
Pretend to be a discord bot

Pretendabot © Pretend to be a discord bot! About Pretendabot© is an app that lets you become a discord bot!. It uses discord intrigrations(webhooks) a

Advik 3 Apr 24, 2022