Firebase Auth integration

Paste a service-account JSON. Maillayer polls Firebase Auth for new signups every 5–60 minutes.

What it does

On a configurable interval (5/15/60 min), Maillayer calls Firebase's auth().listUsers() via the Admin SDK, finds users whose creationTime is newer than the last sync, and runs the configured actions for each new user.

Setup

  1. Firebase Console → Project Settings → Service accounts Generate new private key. Downloads a JSON file.
  2. Brand → Integrations → Connect Firebase Auth. Paste the JSON contents into the Service account field. Encrypted at rest.
  3. Tick the actions you want: Send welcome email (pick a template), Add to contacts (with optional tags).
  4. Pick the polling interval (5 / 15 / 60 min).
  5. Save. First sync is a bootstrap — the cursor jumps to "now", marking all existing users as already-seen so you don't blast 10k welcome emails on day one.

What runs per new user

  • Welcome email: sends the configured transactional template. Variables: {{data.email}}, {{data.displayName}}.
  • Add to contacts: upserts a contact by email with the Firebase display name and your configured tags.

Manual sync

The Setup tab has a Sync now button — useful for testing. Bypasses the interval gate and runs the poll immediately.

Limit on listUsers
Firebase's listUsers() caps at 1000 users per page. Maillayer paginates through up to 50 pages (50,000 users) per sync. Past that, your sync window may miss new signups. Tighten the interval or contact us about delta sync.