Using the Zapier Postmark Send Email Action
Postmark offers a "Send an Email" action on Zapier that will, when triggered, send an email to the desired recipients. An action on Zapier is a function that you can choose to happen after an event is triggered. Zapier supports over 300 integrations from application providers and most have triggers that you can choose to use based on events. By using a trigger and collecting the data it sent to Zapier, you can have a message composed automatically using the captured data.
Choosing the Postmark Send an Email Action
The first thing you'll need to do when connecting your Zapier account to Postmark, is to choose a trigger event that will cause Postmark to send an email. Let's select the Beanstalk "New Repository" trigger and then the Postmark "Send an Email" action.
Connecting Your Beanstalk Account
Now that you've selected the trigger and action you'd like to take, you'll need to connect your Beanstalk account. Have your domain, username, and password handy, and enter the data into the respective fields when Zapier asks for it. This will verify and link up your Beanstalk account.
Connecting Your Postmark Account
Next you'll be prompted to connect your Postmark account. In the Credentials tab in the settings of the Postmark Server you want to use for this integration, copy the "Server API Token" from the text box and paste it to the X-Postmark-Server-Token field in the Zapier display when asked. Zapier will then confirm your Postmark account.
Creating Your Email Template
Map the fields from the Beanstalk webhook data into the email you'd like to compose to your recipients. The Zapier interface is quite flexible and allows you to mix ad-hoc text with field data from Beanstalk.
Finally, confirm your Zap and turn it on. Now, each time a new repository is created on Beanstalk, your recipients will be notified by email through your Postmark Server.