• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
kamalnrf

kamalnrf

MailGoat

Greatest of all time for your email!
Remix of std/reactHonoStarter
Public
Like
2
MailGoat
Home
Code
3
backend
3
frontend
3
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
3
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://kamalnrf--4cd7d22f943d4700ab3afcef62e964ec.web.val.run
README.md

MailGoat

Greatest of all time for your email!

Google API Configuration

  1. Create a new Google Cloud Project
  2. Configure OAuth Conscent Screen

Scopes Needed

Read Metadata

  • https://www.googleapis.com/auth/gmail.metadata
  • This allows you to read email metadata (subjects, headers, labels) but not the email content itself
  • Perfect for creating an email management system without needing to access sensitive message content

Labels

  • https://www.googleapis.com/auth/gmail.labels
  • This is the scope for seeing and editing email labels
  • Allows you to create, delete, and modify labels
  • Enables applying/removing labels from messages

Todo

  • Google API Configuration
  • OAuth Implementation with Basic UI to trigger OAuth
  • Fetch Emails
  • Apply labels to emails based on from, subject and other metadata fields
HTTP
  • index.ts
    kamalnrf--4c…ec.web.val.run
Cron
  • labelerCron.ts
Code
backendfrontendREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.