Email

The email pack is an official pack comming from StackStorm. It is intended to send and receive emails.

This pack requires some configuration, don’t forget to launch a st2 pack config email. See pack’s README.md for details about configuration items.

Actions

email.send_email

An action to send an email.

Requires an account parameter that refers to a SMTP account name configured in pack’s configuration.

Requires email_from, email_to, subject and message parameters.

Optionnaly, it can accept email_cc, mime or attachements parameters.

Sensors

email.SMTPSensor

A sensor that emits triggers when email is received via SMTP.

This sensor launches a simple SMTP server.

This sensor emits email.smtp.message triggers. Trigger payload contains the following information:

  • from

  • to

  • html

  • subject

  • date

  • body_plain

  • body_html

  • attachements

  • headers