Skip to main content

A package that helps to send emails through Python utilizing an OOP logic

Project description

Wrapmail

Installation

pip install wrapmail

Google Gmail API Wrapper Setup

This module comes with a wrapper for Google's Gmail api. Google requires authentication for using the Gmail api. In order to use the wrapper, go to google developers console, create project, register Gmail api. The only required scope is https://mail.google.com/ Then, you need to download the client_secret json file and include it in your directory.

After you include client_secret.json and instantiated the Gmail class and run the main python file, and automatic authentication window will open and ask you to sign in. After signing in, if your authentication was successful you will be prompted by message "authentication flow has completed" and a pickle file will be created. As long as pickle file does not expire and is included in your working directory, you won't need to complete these steps. Do not share your client secret file, its contents or your pickle file. The authenticated email address will be used to send mails.

Since OAuth is used, you don't need to allow for less secure apps in your gmail account.

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

wrapmail-0.0.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

wrapmail-0.0.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file wrapmail-0.0.2.tar.gz.

File metadata

  • Download URL: wrapmail-0.0.2.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for wrapmail-0.0.2.tar.gz
Algorithm Hash digest
SHA256 aa4a658e9078146028ceb01cc7e45dbe1a4826ddb704d842a8ec77aaaab5df59
MD5 6a680f3009072be52f0e5f9133286dfc
BLAKE2b-256 299922380682c99336e5ab59db45d5a4b5cfb3a081004372bf4636bebeeeac3a

See more details on using hashes here.

File details

Details for the file wrapmail-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: wrapmail-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for wrapmail-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 acf24b9d52675ffa6a598af7ddf80ae685decd9c8bebbba96bdad57b057840cf
MD5 4c3aa7ab97a4aed970210f67066ca3db
BLAKE2b-256 4555cac7540a95533d64da33c3422f1117825754656b18fd8af546397ef798ac

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