The Agent Mental Model
1 Open Gmail, read the email
β
2 Copy the meeting details
β
3 Open your calendar
β
4 Check your availability
β
5 Go back to Gmail
β
6 Maybe ask ChatGPT to draft a reply?
β
7 Copy the draft, paste it in Gmail
β
8 Edit it, add the time slots
β
9 Finally hit send
What you do manually
Click "Compose" in Gmail
Look at calendar availability
Search a contact in HubSpot
Create a new Google Doc
Send a Slack message
=
What code can do
gmail.send() calendar.freebusy() hubspot.contacts.search() docs.create() slack.postMessage() "Someone just emailed me asking to meet. Check my calendar for next week, find some open slots, and send them a reply suggesting times."
β
Agent working...
β
β Email read and understood
β Calendar checked for availability
β Reply sent with 3 time options
Claude Code
Gmail
Calendar
Documents
Contacts
CRM
Slack