Skip to main content

Super simple self-emailing.

Project description

# emailme

Super-simple emailing myself using Python code

# installation

```bash
$ pip install emailme
```

# intended usage

`emailme` is intended to be used to quick-fire send an email to oneself from Python scripts and from the command line.

## initial setup

Sending email requires you to login to an SMTP server. This often means a password is required.

To get started, you will need to store your username and password in a file that is read-write only by you. `emailme` provides a convenience way to get setup.

```bash
$ emailme start
```

You will be asked for your email address and passwrod there.

**note about password:** I strongly suggest NOT storing your regular email password. Instead, you should be using an app-specific password that you rotate regularly. Gmail offers such a functionality, and is highly recommended. Check with your email host provider for more detail.

Upon entering your credentials, a file will be written to disk at `~/.credentials/emailme.json`. This email is only read/write-able by you; other users of the computer are unable to read or write it.

Upon this initial setup, you will now be able to use `emailme` to send emails to yourself.


## command line usage

Usage at the command line is super simple.

```bash
$ emailme sendmail --subject "hey" --message "what's up?"
```

(be sure to escape your exclamation marks!)

## script usage

You can also import emailme and use it from a Python script.

```python
from emailme import sendmail

sendmail(subject='hey', message="What's up? How are you doing?")
```


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

emailme-0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

emailme-0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file emailme-0.1.tar.gz.

File metadata

  • Download URL: emailme-0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for emailme-0.1.tar.gz
Algorithm Hash digest
SHA256 6d13f8c113ec42093a4a2a543754385205586a6e68f7c30b9cbcca8a89bb9cfe
MD5 c12606d1c17290073fe50b1476eab0de
BLAKE2b-256 ced42b60c3efac406c72ca6f0ce203f0bc78a34abecfc2f2fe1afd1ad7320f3d

See more details on using hashes here.

File details

Details for the file emailme-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for emailme-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d039e7f7b7ce79c6c48cc219e6cc7c4b4e6541a1f39eef4935271fc288cac0ab
MD5 69952d082d12ab8d8a797ad8d29cf94c
BLAKE2b-256 73e649c316e2a186cf58da7c366ad5d69c5a307021fd1f6a6de02242f2e7935e

See more details on using hashes here.

Supported by

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