https://github.com/mohith-das/gmail2gs
Log starred Gmail messages to Google Sheets on a schedule.
https://github.com/mohith-das/gmail2gs
apps-script automation gmail google-sheets triggers
Last synced: 18 days ago
JSON representation
Log starred Gmail messages to Google Sheets on a schedule.
- Host: GitHub
- URL: https://github.com/mohith-das/gmail2gs
- Owner: mohith-das
- Created: 2026-01-03T21:41:17.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-03T22:15:30.000Z (6 months ago)
- Last Synced: 2026-03-01T08:33:55.290Z (5 months ago)
- Topics: apps-script, automation, gmail, google-sheets, triggers
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gmail to Google Sheets
Logs starred Gmail messages to a Google Sheet on a scheduled trigger.
## Highlights
- Pulls matching emails with a Gmail search query.
- Appends sender + body to a spreadsheet.
- Uses stars as a lightweight processed marker.
## Tech
Apps Script, Gmail, Google Sheets
## Setup
1. Open Extensions -> Apps Script in a Google Sheet.
2. Paste `sample-code.js` into the project.
3. Set required properties (e.g., `targetSheetId` and `queryString`).
4. Create a time-driven trigger for `checkMail()`.
## Usage
- Messages matching the query are appended to the sheet.
- Stars prevent duplicate processing.
## Notes
- Gmail quotas apply.