Skip to main content

No-boilerplate, async and typed Gmail access.

Project description

sly logo Sly Gmail for Python

🚧 This library is an early work in progress! Breaking changes may be frequent.

🐍 For Python 3.10+

No boilerplate, async and typed Gmail access. 😋

pip install slygmail

This library does not have full coverage. Currently, the following topics are supported:

  • Sending emails
  • Sending emails with attachments

You can directly grant user tokens using the command line, covering the whole OAuth 2 grant process.


Example usage:

import asyncio
from SlyGmail import *

async def main():
    gmail = Gmail('test/app.json', 'test/user.json', Scope.GmailSend)

    await gmail.send('person@example.com', 'test subject', 'test body')

asyncio.run(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SlyGmail-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

SlyGmail-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file SlyGmail-0.1.0.tar.gz.

File metadata

  • Download URL: SlyGmail-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for SlyGmail-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0761aa145ed3835db14d6f7c679ea8a875586d58b42e4e2adfc4d2113f0199fa
MD5 55c006bbb5632f8b2f4c13f5bf8f83a3
BLAKE2b-256 14d9dbbce42f9aac9f4c7bb6ec2327f3db07a88c961178b8019c5b958eb222f7

See more details on using hashes here.

File details

Details for the file SlyGmail-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: SlyGmail-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for SlyGmail-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0223fdb73e74a036e7d901a2dc4b8f32d7d361190a481b6329a559d14547efe3
MD5 970c7d82f07ab5eae78729d99a26c747
BLAKE2b-256 91dcce1eca6d9f3ed55e198e1ebc00f3a1781d17c9f6f531ff8695913b8d272c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page