Inspiration

Work-related tasks are often hidden inside emails. An inbox can contain hundreds of messages, but only a few actually require action. We wanted to turn that messy communication into a clear picture of what needs to be done and what deserves attention first.

What we built

Gmail AI Workday Agent transforms Gmail communication into structured, actionable work.

Instead of simply summarizing an email, the system identifies:

  • What task needs to be done
  • Who owns it
  • When it is due
  • How important it is
  • What other work it may be blocking
  • What the user should focus on first

The result is a prioritized work agenda that helps the user move from Inbox → Action.

How we built it

The application uses a React + TypeScript frontend and a FastAPI backend. Gmail is connected through Google OAuth and the Gmail API. Emails are processed and grouped into threads before task intelligence is applied.

The system uses AI to classify emails, extract tasks and deadlines, identify context and dependencies, and support prioritization and agenda planning. PostgreSQL is used for persistent application data, while background processing can handle heavier AI and embedding operations.

Gemini can act as the conversational reasoning layer over the structured workday data, allowing users to ask questions such as what they should focus on today or why a task is important.

Challenges

One of the biggest challenges was turning unstructured natural-language emails into reliable structured tasks without creating false or duplicate tasks.

We also had to think carefully about privacy, permissions, prompt injection, AI reliability, and keeping the user in control of consequential actions.

What we learned

We learned that building an AI agent is not just about generating responses. Reliable AI applications need structured data, validation, guardrails, controlled tools, and clear boundaries between what the AI recommends and what the application actually executes.

What's next

We want to expand the agent with deeper calendar integration, multiple Gmail accounts, proactive follow-ups, richer agent actions, and better personalization.

Built With

Share this project:

Updates

Submission history