Five days, five Gmail functions. count_emails, get_email, search_emails, draft_email, send_email. Which one surprised you most?
When count_emails returned my actual inbox count — not fake data, not a test number. Real data from my real account. That was the moment automation stopped being abstract.
That's the Week 1 awe moment. And it happens with every new app you connect — Calendar, Sheets, Docs all follow the same pattern. What about the search?
search_emails reuses GMAIL_FETCH_EMAILS with a query param — same action, different params dict. Once I understood that pattern, I stopped thinking of actions as separate APIs and started thinking of them as verbs with arguments.
That's the abstraction that makes Week 2 feel familiar instead of new. Six questions.
Ready.
All five Gmail functions are your foundation. They're about to chain into Calendar, Sheets, and Docs — keep the patterns sharp.
Create a free account to get started. Paid plans unlock all tracks.
Five days, five Gmail functions. count_emails, get_email, search_emails, draft_email, send_email. Which one surprised you most?
When count_emails returned my actual inbox count — not fake data, not a test number. Real data from my real account. That was the moment automation stopped being abstract.
That's the Week 1 awe moment. And it happens with every new app you connect — Calendar, Sheets, Docs all follow the same pattern. What about the search?
search_emails reuses GMAIL_FETCH_EMAILS with a query param — same action, different params dict. Once I understood that pattern, I stopped thinking of actions as separate APIs and started thinking of them as verbs with arguments.
That's the abstraction that makes Week 2 feel familiar instead of new. Six questions.
Ready.
All five Gmail functions are your foundation. They're about to chain into Calendar, Sheets, and Docs — keep the patterns sharp.