メインコンテンツにスキップ

gmail-processor

Gmail Processor is a Google Apps Script library that automates the processing of Gmail messages and attachments and execute actions (e.g. store attachments in a GDrive folder, log information in a spreadsheet) depending on matching criteria.

AI Summary

Gmail Processor

A Google Apps Script library that automatically processes Gmail messages and attachments based on configurable rules.

Target Users

Intermediate-to-advanced GAS developers who need to build internal workflows that auto-sort Gmail, save files to Drive, and log results to Sheets.

Problems Solved

Manually sorting, saving, and recording large volumes of emails and attachments is time-consuming and error-prone.

Tags

Main Features

1
Flexible rule matching via JSON config

Define matching rules for threads, messages, and attachments in a JSON file and let the library run the corresponding actions.

2
Automatic Google Drive storage

Automatically stores matching attachments or PDF copies of emails/threads into any Drive folder for easy organisation.

3
Spreadsheet logging

Logs processed threads, messages, and attachments into Google Sheets for auditing and reporting.

4
PDF decryption & OCR text extraction

Decrypts password-protected PDFs and extracts text from images/PDFs (JPEG, PNG, GIF, PDF) via OCR to enrich attachment metadata.

5
Extensible TypeScript architecture

Completely re-written in TypeScript with an extensible architecture that facilitates adding new actions or integrations.

Usage Examples

Concrete code examples cannot be provided because the README and public documentation do not expose callable code snippets.