Email

Trigger workflows on new emails, and send emails to yourself as part of a Pipedream workflow.

Integrate the Email API with the Bash API

Setup the Email API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Email and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on New Email from Email API
Email + Bash
 
Try it
New Email from the Email API

Get a unique address where you can send emails to trigger your workflow.

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it
Send Yourself an Email with the Email API

Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.

 
Try it

Connect Email

1
2
3
4
5
6
7
8
9
export default defineComponent({
  async run({ $ }) {
    const options = {
      subject: 'Your subject here',
      text: 'Your text here'
    };
    $.send.email(options);
  },
});

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS