IMAP

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

Integrate the IMAP API with the Front API

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

Send new message with Front API on New Email from IMAP API
IMAP + Front
 
Try it
Import Message with Front API on New Email from IMAP API
IMAP + Front
 
Try it
Receive Custom Messages with Front API on New Email from IMAP API
IMAP + Front
 
Try it
Reply To Conversation with Front API on New Email from IMAP API
IMAP + Front
 
Try it
Update Conversation with Front API on New Email from IMAP API
IMAP + Front
 
Try it
New Email from the IMAP API

Emit new event for each new email in a mailbox

 
Try it
New Conversation State Change from the Front API

Emit new event when a conversation reaches a specific state. See the docs

 
Try it
New Conversation Tag from the Front API

Emit new event when a conversation is tagged with a specific tag or any tag. See the documentation

 
Try it
Import Message with the Front API

Appends a new message into an inbox. See the docs here.

 
Try it
Receive Custom Messages with the Front API

Receive a custom message in Front. See the docs here.

 
Try it
Reply To Conversation with the Front API

Reply to a conversation by sending a message and appending it to the conversation. See the docs here.

 
Try it
Send New Message with the Front API

Sends a new message from a channel. It will create a new conversation. See the docs here.

 
Try it
Update Conversation with the Front API

Updates a conversation. See the docs here.

 
Try it

Overview of IMAP

Using Pipedream's IMAP API, developers can automate interactions with their email inbox, enabling serverless workflows that perform actions based on incoming emails. This could include parsing email contents, triggering events upon receiving emails from specific senders, attaching labels, and much more. By leveraging IMAP, Pipedream can act as a bridge between your email and other services, streamlining processes that would otherwise require manual intervention.

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 Front

The Front API empowers you to automate the handling of your team's email inbox, collaborate on conversations, and streamline communication workflows. By harnessing this API on Pipedream, you can craft custom integrations that trigger actions in Front in response to events, synchronize data across platforms, and augment your team's productivity with automated tasks. This can include creating or updating conversations and contacts, managing tags, or firing off custom automation rules within Front.

Connect Front

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: {
    frontapp: {
      type: "app",
      app: "frontapp",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api2.frontapp.com/me`,
      headers: {
        Authorization: `Bearer ${this.frontapp.$auth.oauth_access_token}`,
      },
    })
  },
})