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
accountparameter that refers to a SMTP account name configured in pack’s configuration.Requires
email_from,email_to,subjectandmessageparameters.Optionnaly, it can accept
email_cc,mimeorattachementsparameters.
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:
fromtohtmlsubjectdatebody_plainbody_htmlattachementsheaders