Skip to main content

Send and check emails faster from the terminal

Project description

Mailshell - msl

send and check emails :email: faster from the terminal using Mailshell

PyPI GitHub issues GitHub Get started

Requirements

  • python 3.7+
  • Linux or MacOS

Installation

python pip install

$ python -m pip install mailshell

Support python 3.7+

Usage

just type msl followed by one of the mailshell commands

$ msl login

See how to use mailshell and find all the arguments, option in the Documentation.


  • add --version option to see your current version
  • type msl login to log in with gamil app password, and msl new to create a new message
  • use msl set command to write your email using nano editor or msl html to add html message, and msl add with a file or image to include it.
$ msl add ./file.pdf
  • you can also add a text from a txt file with -f option in set and html command
$ msl set -f ./your_text.txt
  • use msl content to see your message content, and add --files or --images to see a list of the message attachments.
  • run msl send to send your message to specified accounts.
  • you can use msl check command to check your emails with a specified mailbox with -b option (Inbox is the default) and some selection options such as --all and --from, and use -l to display the output as a list.
$ msl check -b sent --date 18-09-2015
email(1)
email(2)
email(3)
 ...
  • use the same selection options in msl delete to delete the selected emails in the mailbox
$ msl delete -t "You won.." -n

Commands

Use --help in mailshell to see the available commands:

Command Description
login log in to your gmail using email address and the app password
cred print your current email address and app password
new create new email message
subject set a new subject to the message
from set a new sender name
html add html message
content see the current message content with the included files
set add a text manually or from .txt file to you current message
add add a file or image to your message
rm remove a file or image from your message
to set your contact that you will send to
send send the current message
check check your emails in a mailbox using selection options
delete delete the selected email with the delete options in mailbox
logout log out from mailshell
$ msl --help

Support

For support, Follow on twitter @malkiAbdoo.

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

mailshell-1.4.4.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

mailshell-1.4.4-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file mailshell-1.4.4.tar.gz.

File metadata

  • Download URL: mailshell-1.4.4.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for mailshell-1.4.4.tar.gz
Algorithm Hash digest
SHA256 bfaf64d372550649b445404377268026d6b5da193fa44c7b504c3c65d387e57c
MD5 9a667792ea069a5768342da9d9bd125d
BLAKE2b-256 2ff32ee5a0f4b2330f8f4144dfb764589bc2d8e20253b063c3949b1cebf1774a

See more details on using hashes here.

File details

Details for the file mailshell-1.4.4-py3-none-any.whl.

File metadata

  • Download URL: mailshell-1.4.4-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for mailshell-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cfa05cd83dcbbcfa7a1a91740d0b55cb26c3452108ecf6f01b714079900454d2
MD5 b17b63ef3f57615bbdf8241187fcba80
BLAKE2b-256 c3a17baa2357d0abdea6df3d4ce4c1b4e6d3934ddc7d1f92e5bf6c32d8bcfacb

See more details on using hashes here.

Supported by

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