Skip to main content

Simple Gmail API mail sender

Project description

Easymail

Easymail is a lightweight Python wrapper for the Gmail API that simplifies sending emails.
It handles authentication, token storage, and message creation so you can focus on writing your messages instead of boilerplate code.

  • Simple and intuitive API
  • Automatic Gmail OAuth2 authentication
  • Local token storage for seamless reuse
  • Minimal setup – authenticate once and send emails in seconds

Installation

pip install li-easymail

Usage

from easymail import easymail

easymail.credentials("client_secret.json")
easymail.sendmail.subject("Hello!")
easymail.sendmail.recipient("example@gmail.com")
easymail.sendmail("This is a test email sent using Easymail 🚀")

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

li_easymail-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

li_easymail-0.1.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file li_easymail-0.1.2.tar.gz.

File metadata

  • Download URL: li_easymail-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for li_easymail-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9a2a613e33db3ff50b20040789fdfbe0f317bd569a59df813543a9f62caf1855
MD5 7b968f37eac8446e0fd2161949011fa7
BLAKE2b-256 fe423b8c9b030f9cea8a552ced1f58a4d23c35e77169536b0abc0210e90db052

See more details on using hashes here.

File details

Details for the file li_easymail-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: li_easymail-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for li_easymail-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42d97d7da331f9fadfcce6407471dc3ca7db228ea2055357f59a264dcd6eb893
MD5 884910bc779a6a6d74b864277d613faf
BLAKE2b-256 a37168a337f1ad0a9dfd1b93abf83ad48a478f9e171edd163d14ae952024595d

See more details on using hashes here.

Supported by

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