Automatically analyze incoming emails and prepare meeting briefings with AI expert panels. 2-minute setup No extra cost
Email Analysis
Auto-process labeled emails through any workflow
Meeting Prep
Research attendees and build talking points
Auto or On-Demand
Run on a schedule or trigger manually
A small Google Apps Script runs in your Gmail account. It watches for emails with a specific label and sends them to Meta Council for analysis. Your data flows directly from Google to Meta Council — no middleman.
Gmail → Google Apps Script → Meta Council API → Your Dashboard
Go to meta-council.com → Settings → Developer API Keys → Create Key.
Copy the key (starts with mc_). You'll need it in step 3.
Go to script.google.com → New Project.
Delete the default code and paste the script below:
// Loading script...
In the script, update these two lines:
API_KEY: "mc_YOUR_API_KEY_HERE", // ← paste your key WORKFLOW: "email_lead_pipeline", // ← choose your workflow
Workflow options:
email_lead_pipeline — Score leads from emails (research company, check hiring, forecast)sales_pipeline — Sales qualification and proposal prepinvoice_tracker — Parse invoices and analyze cash flowmarket_intelligence — Competitive and market analysiscompetitive_analysis — Deep competitive landscape reportIn the script editor, select setup from the function dropdown and click Run.
Google will ask you to authorize the script — click through the permissions (it needs access to Gmail and external URLs).
You'll see: ✅ Setup complete!
Create a Gmail filter to auto-label emails you want analyzed:
Gmail → Settings → Filters → Create filter → Choose criteria → Apply label: MetaCouncil
Any email with the MetaCouncil label gets automatically sent to your chosen workflow. Results appear in your Meta Council dashboard.
The script also includes an analyzeUpcomingMeetings() function. Run it manually or set up a daily trigger to get AI-generated briefings for tomorrow's meetings — attendee research, talking points, and context.
setup() — Start the automation processNewEmails() — Process labeled emails now analyzeUpcomingMeetings() — Prep for tomorrow's meetings testConnection() — Verify API key works stop() — Remove all triggers
The script runs in your own Google account. Data flows directly from Google to Meta Council's API — no third-party services. If you're self-hosting Meta Council, your data never leaves your network.
The Google Apps Script is free. Meta Council usage counts against your plan's query limits (5/day free, 50/day Pro).
Yes — use Gmail's filter system to control which emails get the MetaCouncil label. Filter by sender, subject, keywords, or any Gmail criteria.