IMAP

Connect Pipedream to any IMAP email provider to trigger custom workflows.

Integrate the IMAP API with the Airtable (OAuth) API

Setup the IMAP API trigger to run a workflow which integrates with the Airtable (OAuth) API. Pipedream's integration platform allows you to integrate IMAP and Airtable (OAuth) remarkably fast. Free for developers.

Create Comment with Airtable API on New Email from IMAP API
IMAP + Airtable (OAuth)
 
Try it
Create Field with Airtable API on New Email from IMAP API
IMAP + Airtable (OAuth)
 
Try it
Create Multiple Records with Airtable API on New Email from IMAP API
IMAP + Airtable (OAuth)
 
Try it
Create Single Record Or Update with Airtable API on New Email from IMAP API
IMAP + Airtable (OAuth)
 
Try it
Create Single Record with Airtable API on New Email from IMAP API
IMAP + Airtable (OAuth)
 
Try it
New Email from the IMAP API

Emit new event for each new email in a mailbox

 
Try it
New Field from the Airtable (OAuth) API

Emit new event for each new field created in a table

 
Try it
New Modified or Deleted Records (Instant) from the Airtable (OAuth) API

Emit new event each time a record is added, updated, or deleted in an Airtable table. See the documentation

 
Try it
New or Modified Field from the Airtable (OAuth) API

Emit new event for each new or modified field in a table

 
Try it
New or Modified Records from the Airtable (OAuth) API

Emit new event for each new or modified record in a table

 
Try it
Create Comment with the Airtable (OAuth) API

Create a new comment on a record. See the documentation

 
Try it
Create Field with the Airtable (OAuth) API

Create a new field in a table. See the documentation

 
Try it
Create Multiple Records with the Airtable (OAuth) API

Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs. See the documentation

 
Try it
Create Single Record with the Airtable (OAuth) API

Adds a record to a table.

 
Try it
Create Single Record Or Update with the Airtable (OAuth) API

Updates a record if recordId is provided or adds a record to a table.

 
Try it

Overview of IMAP

The Internet Message Access Protocol (IMAP) is a mail protocol used for
accessing email on a remote web server.

IMAP provides a way to access email stored on a server, allowing you to read,
write, and delete emails from your account.

IMAP is a popular protocol for accessing email, and is supported by most email
providers.

Here are some things you can build using the IMAP API:

  • A web-based email client
  • A desktop email client
  • A mobile email client
  • A command-line email client
  • A script to automatically delete old emails
  • A script to automatically forward emails to another address
  • A script to automatically save attachments to your computer

Connect IMAP

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import { once } from "events";
import imaps from "imap-simple";
import cycle from "cycle";

export default defineComponent({
  props: {
    imap: {
      type: "app",
      app: "imap",
    }
  },
  async run({steps, $}) {
    const { host, port, email, password } = this.imap.$auth;

    const connection = await imaps.connect({
      imap: {
        host,
        port,
        user: email,
        password,
        tls: true,
        tlsOptions: { servername: host },
        authTimeout: 3000
      },
    });

    const boxes = await connection.getBoxes();
    // Filter out circular references to parents
    const filteredBoxes = cycle.decycle(boxes);
    $.export("results", filteredBoxes);

    connection.end();
    await once(connection.imap, "end");
  },
})

Overview of Airtable (OAuth)

Using the Airtable API, you can build applications that can:

  • Create and manage databases
  • Add, update, and delete records
  • Search for records
  • Sort and filter records
  • Display records in a variety of ways
  • Import and export data

Connect Airtable (OAuth)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    airtable_oauth: {
      type: "app",
      app: "airtable_oauth",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.airtable.com/v0/meta/whoami`,
      headers: {
        Authorization: `Bearer ${this.airtable_oauth.$auth.oauth_access_token}`,
      },
    })
  },
})