Email Automation

    Recommended

    Auto-forward flight emails to add trips automatically

    Set up automatic email forwarding so your trips are added to FEIE Tracker the moment you receive a flight confirmation. No manual work required, just book your flight and watch it appear in your trip log.

    Receive confirmation

    Book a flight as normal

    Auto-forward

    Email rules send to webhook

    Review & confirm

    Approve in your dashboard

    Before You Start

    Webhook URL

    https://xjdyllekcmeuvpbjjkzm.supabase.co/functions/v1/parse-flight-email

    Setup Guides

    Choose your email provider or automation tool below for step-by-step instructions.

    Gmail + Zapier

    Recommended for Gmail users

    1

    Create a Zapier account

    Go to zapier.com and sign up (free tier works)

    2

    Create a new Zap

    Click "Create Zap" and search for "Gmail" as your trigger

    3

    Set trigger: "New Email Matching Search"

    Use this search query to match airline emails:

    from:(united OR delta OR american OR southwest OR jetblue OR @airline.com) subject:(confirmation OR itinerary OR booking)
    4

    Add action: "Webhooks by Zapier"

    Choose "POST" request and configure:

    • URL: The webhook URL above
    • Payload Type: JSON
    • Data: Map these fields:
    {
      "import_token": "YOUR_TOKEN_HERE",
      "email_content": "{{Body Plain}}",
      "email_subject": "{{Subject}}",
      "email_from": "{{From Email}}"
    }
    5

    Test and publish

    Send a test email, verify it works, then turn on your Zap!

    Open Zapier

    Webhook Payload Format

    Send a POST request with this JSON body:

    POST https://xjdyllekcmeuvpbjjkzm.supabase.co/functions/v1/parse-flight-email
    Content-Type: application/json
    
    {
      "import_token": "your-unique-token",
      "email_content": "Full email body text...",
      "email_subject": "Your Flight Confirmation",
      "email_from": "reservations@airline.com"
    }

    Only import_token and email_content are required. Including subject and sender improves parsing accuracy.

    Security Notes

    Your token is unique to your account

    Never share it publicly. It authenticates requests to your account.

    Regenerate anytime

    If compromised, regenerate your token from Trips → Import. Old tokens stop working immediately.

    Review before adding

    All imported trips require your approval. Nothing is added without your confirmation.

    Ready to automate?

    Get your import token and start setting up your automation.