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 telegram user and chat info extractor with pyrogram python module

Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License - https://github.com/FayasNoushad/Telegram-Info/blob/main/LICENSE

Fayas Noushad 8 Dec 22, 2021
Python3 script to dump employee information from XING API

XingDumper Python 3 script to dump company employees from XING API. Perfect OSINT tool ;-) The results contain firstname, lastname, position, gender,

LRVT 11 Dec 26, 2022
Plataforma para atendimento a outras empresas que necessitam de atendimento técnico.

Plataforma para atendimento a outras empresas que necessitam de atendimento técnico. É possível que os usuarios de empresas parceiras registrem solici

Kelvin Alisson Cantarino 2 Jun 29, 2022
Discord Remote Administration Tool

Discord Remote Administration Tool

Rdimo 82 Aug 15, 2022
A listener for RF >= 4.0 that prints a Stack Trace to console to faster find the code section where the failure appears.

robotframework-stacktrace A listener for RF = 4.0 that prints a Stack Trace to console to faster find the code section where the failure appears. Ins

marketsquare 16 Nov 24, 2022
vk.com API python wrapper

Python vk.com API wrapper This is a vk.com (the largest Russian social network) python API wrapper. The goal is to support all API methods (current an

Dmitry Voronin 371 Dec 29, 2022
A Python Library to Make Quote Images

Quote2Image A Python Library to Make Quote Images How To Use? Download The Latest Package From Releases Extract The Zip File And Place Every File In I

Secrets 28 Dec 30, 2022
Terraform Cloud CLI for Managing Workspace Terraform Versions

Terraform Cloud Version Manager This tiny script makes it easy to update the Terraform Version on all of the Workspaces inside Terraform Cloud. It wil

Robert Hafner 1 Jan 07, 2022
Asynchronous Python Wrapper for the Ufile API

Ufile.io Asynchronous Python Wrapper for the Ufile API (Unofficial).

Gautam Kumar 16 Aug 31, 2022
The public discord bot, created by: primitt, further developed by: duino-coin team.

Duino Stats Mini A public Duino-Stats Discord bot. Click this link to invite the bot to your server. License Duino Stats Mini distributed under the MI

primboi 8 Mar 14, 2022
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
LavaAPI - A simple library for accepting payments and using the LAVA Wallet

This library was created to simplify the LAVA api provided on the official websi

Vlad Baccara 8 Dec 18, 2022
A WhatsApp Crashing Tool for Termux

CrashW A WhatsApp Crashing Tool For Termux Users Installing : apt update && apt upgrade -y pkg install python3 pkg install git git clone git://gith

Gokul Mahato 20 Dec 27, 2022
This repository are used to give class about AWS

AWSTraining This repository are used to give class about AWS by Marco Antonio Pereira Linkedin: https://www.linkedin.com/in/marcoap To see the types o

Marco Antonio Pereira 6 Nov 23, 2022
A telegram bot help you to get stylish fonts and text

Stylish Font Bot 🐿 This is a telegram bot help you to get stylish fonts and text. Config Vars 🤖 API_HASH: Get this value from my.telegram.org. API_K

MSTL updates 1 Nov 08, 2021
A clean, easy to scale discord bot template

A clean, easy to scale discord bot template. Develope using nextcord library and can be use with any other discord.py forked library.

めがねこ 3 Mar 03, 2022
A simple healthcheck wrapper to monitor Kafka.

kafka-healthcheck A simple healthcheck wrapper to monitor Kafka. Kafka Healthcheck is a simple server that provides a singular API endpoint to determi

Rodrigo Nicolas Garcia 3 Oct 17, 2022
Sms-bomber - A Simple Browser Automated Bomber

A Simple Browser Automated Bomber which uses selenium :D Star the Repo and Follo

Terminal1337 9 Apr 11, 2022
Um simples bot público para todos usarem no discord!

Discord Bot - Código Público Características: Linguagem de Programação: Python Quantidade de comandos: 17 Comandos: Prefixo do bot: O prefixo desse bo

Kevin 3 Dec 31, 2021
Best Buy Bot used to add products to cart for purchase.

To Install the Best Buy Bot These instructions are for Mac users only. Clone this Repo to your machine. BestBuyBot Open in VScode. Is Python installed

Robert Estrella 1 Dec 11, 2021