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.3.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.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: li_easymail-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 a6dd6b95fd7a16120dc786b4794c5efcf133a3e5dbc026fee5389ff5ddb6ead7
MD5 4e11496e097a04daaf1bff6793add931
BLAKE2b-256 7ca88916a798ea53cccbe81e0b7083049537bbecf9ae0d75d534e123d0966e6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: li_easymail-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5b13f8ae6859337b10b4ee8cd0268c9d900eafa2e8f278725cadd3e87e29a859
MD5 dc13ad5a7ebcc86742293d075c6f3de5
BLAKE2b-256 3b7b3cde50eee26c260ce9cfc3a4be15bf2aa614292c4a6b9967117eb8916e29

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