FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
kamalnrf
kamalnrfMailGoat
Greatest of all time for your email!
Remix of std/reactHonoStarter
Public
Like
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 miliseconds.
Sign up now
Code
/
Code
/
Search
Open in new tab
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
Code
backendfrontendREADME.md
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.