SendGridMailSendSendGridMailSend
SendGridMailSendCertified

yaml
type: "io.kestra.plugin.twilio.sendgrid.SendGridMailSend"
yaml
id: unreliable_flow
namespace: company.team

tasks:
  - id: fail
    type: io.kestra.plugin.scripts.shell.Commands
    runner: PROCESS
    commands:
      - exit 1

errors:
  - id: send_email
    type: io.kestra.plugin.twilio.sendgrid.SendGridMailSend
    from: hello@kestra.io
    to:
      - hello@kestra.io
    sendgridApiKey: "{{ secret('SENDGRID_API_KEY') }}"
    subject: "Kestra workflow failed for the flow {{flow.id}} in the namespace {{flow.namespace}}"
    htmlTextContent: "Failure alert for flow {{ flow.namespace }}.{{ flow.id }} with ID {{ execution.id }}"
Properties
Min length1
Min length1
SubTypestring
Min items1
Definitions
name*Requiredstring
uri*Requiredstring
contentTypestring
Defaultapplication/octet-stream
SubTypestring
Definitions
name*Requiredstring
uri*Requiredstring
contentTypestring
Defaultapplication/octet-stream
SubTypestring
Default0