GridIron is a selection of demos that are meant to show the possibilities of combining SendGrid's email expertise with [Iron.io]'s infrastructure services to create extremely powerful custom workflows with very little code.
The simplest possible example, sending email using SendGrid's API from within an IronWorker worker. The sendGrid authentication information is read from the configuration file and the email information (subject, recipients, sender, etc.) are read from the payload.
An example that shows how to read email information off a queue, and use variable numbers of workers to process that queue to send email at different rates. An evolution of the Hello, SendGrid example that offers more control over how your data is processed and is more robust.
IronMQ push queues can be used to send emails. With their support for multicast, they can be used as powerful brokers. In this example, our message is sent using the Hello, SendGrid example above, but it is also sent as a text message, using Twilio.
Github offers email notifications, but offers no way to filter them. This example shows a very basic way to filter Github notifications to get only a subset of those emails, using the Github callbacks and SendGrid.
Email is a ubiquitous interface; everyone has an email address. This example is a very basic email bot that uses a Markov algorithm to guess the next word in a sentence that is emailed to it. It uses SendGrid's webhook support and IronWorker's webhook endpoints to make a bot that is around when it's being talked to, and gone when nobody talks to it.