Support inbox workflow

How inbound messages flow from customer email to the admin ticket dashboard.

1

Customer sends email

A user writes to support@getnimbus.net. Cloudflare Email Routing receives the message and forwards it to the internal Gmail inbox without exposing origin IPs.

2

Gmail label is applied

A Gmail filter matches the recipient address and automatically applies the label Nimbus/Support. This keeps the inbox organized before any dashboard logic runs.

3

Dashboard polls Gmail

The admin dashboard at /dashboard/admin/tickets uses a server-side API route that reads unread threads from the Nimbus/Support label via the Gmail API. Polling runs every 60 seconds when an admin is viewing the page.

4

Ticket appears in admin UI

Each thread is rendered as a ticket card showing sender, subject, timestamp, and a preview of the latest message. Admins can reply directly from the dashboard without leaving the app.

5

Reply and close

When an admin replies, the dashboard sends the response through the Gmail API and archives the thread. The ticket is marked resolved and removed from the active queue.

This workflow keeps all support communication inside tools the team already uses while giving the dashboard a single source of truth for ticket state.