Skip to main content

A Jupyter magic for sending e-mail after cell completion

Project description


Send an email after cell execution complete.

Obs: Currently only used with gmail.


pip install email-notify-magic


  • Load the magic extension:
%load_ext email_notify_magic
  • Run the cell magic in jupyter notebook (see options bellow):
  • Insert password in the prompt and done

  • Make sure your email account is enable for such usage (see link and less-secure-apps). It is recommend not to use personal accounts.


  • Sender and receiver same email address if --to is not supplied.
  • Set receiver with --to [-t]:
%%email --to
  • Set e-mail subject --subject [-s]:
%%email --s 'My subject'
  • Set e-mail body --body [-b]:
%%email --body 'From cell x'

Notice that the cell output is used if --body is not provided.

  • Save password in jupyter session for latter usage --keep-password [-k]:
%%email --body 'From cell x' -k

The next cell evoked with %%email will not require the password.


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for email-notify-magic, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size email_notify_magic-0.0.2-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size email-notify-magic-0.0.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page