Skip to main content
A Gmail source reads new mail in the labels that you pick. Each message becomes an email.received event.
Gmail sources are in beta and need a Pro project.

Set up

1

Connect

Open Sources → Add source → Gmail and sign in with Google. hooksnode asks for read-only access to your mail (gmail.readonly).
2

Pick labels

Pick the labels to watch, for example INBOX or a label that a Gmail filter adds.
3

Add filters (optional)

Send only the mail you need. Each filter matches part of the header text and ignores case.
4

Turn on bank alerts (optional)

How it works

  1. Gmail tells hooksnode when the mailbox changes.
  2. hooksnode reads the new messages and stores one event for each message. The idempotency key is gmail:<source>:<message>, so a message is never sent twice.
  3. Every 5 minutes, hooksnode checks mailboxes that it has not synced for 10 minutes. This catches lost notices.
hooksnode starts at the time you connect. It does not send old mail.

Problems