Skip to main content

MailUpdater

A Python module for easily sending mail updates to yourself.

Quickstart

import mailupdater

username = input("Email address: ")

service = mailupdater.Service(username)

with service.create("Hello world") as email:
    email.write("Python is great for sending emails.")

# A new email will appear in your inbox.

You can also attach files and send multiple emails:

import mailupdater

username = input("Email address: ")

service = mailupdater.Service(username)

with service.create("Vacation pix") as email:
    email.write("See attachments.")
    email.attach("file.txt")
    email.attach("image.png")
    email.write("These are my vacation pictures.")

with service.create("Reminder") as email:
    email.write("Did you see the previous email I sent?")

# Two new emails will appear in your inbox.

Sending emails to multiple recipients is easy:

import mailupdater

username = "jon@mail1.com"
recipients = ["mary@mail2.com", "bob@mail3.com"]

service = mailupdater.Service(username, recipients)

with service.create("Party invitation") as email:
    email.write("Come to my party!")

# All recipients, including yourself, will recieve the email.

Installation

pip3 install mailupdater

Testing

Do:

import mailupdater

mailupdater.test()

Then follow the instructions of the program.

If the program finishes successfully, then you should see two new emails in your inbox.

Release files for mailupdater 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mailupdater 0.0.3
File Size Uploaded
mailupdater-0.0.3.tar.gz 8.7 kB Details

Release files / mailupdater-0.0.3.tar.gz

Download URL mailupdater-0.0.3.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
671bec4038b1a4e35f21d197dc1e76cb34bd4bde3711feadd68dd720e840e56e
BLAKE2b-256 checksum
How to use checksums
e581bd226d80036cb4d6be7cc003379ec05e8d507c257d91b65a71eac02e2c2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page