Releases: ahochsteger/gmail-processor
2.0.0-beta.11
2.0.0-beta.10
2.0.0-beta.4
2.0.0-beta.4 (2023-08-20)
Bug Fixes
2.0.0-beta.3
2.0.0-beta.3 (2023-08-20)
Bug Fixes
- docs build (8eda0e0)
Features
- add github pages publishing (5d4ff4d)
2.0.0-beta.2
2.0.0-beta.1
2.0.0-beta.1 (2023-08-16)
Bug Fixes
- add mailmap to fix wrong historic name/email (cb43d48)
- add missing dryRun handling (60f1e19)
- add missing processor base class (3870c14)
- commit missing changes from last refactoring (f7f8f3c)
- corrupted attachments (string -> blob) (d698185)
- decorator implementation (7afc98f)
- ensure uniqueness of example function names (38ddbcd)
- env context structure (b94b53a)
- failing multiple substitutions of same placeholder (d5ca9ef)
- GmailProcessor.runWithConfigJson() (93446d6)
- logging for generated examples (9229a3f)
- old reference to processedLabel (3f7b2ee)
- remaining references to .clasp.json (b4f5561)
- remove old action refs + styling (30b450b)
- remove performance.now() (f18f93f)
- remove unused rootTitle (72385cb)
- revert name of attachment.contentType(Regex) (95b5297)
- static action method handling (999091e)
- store email PDF in same folder as attachments (74a439d), closes #36
- syntax error (08af1ef)
- test errors due to buildMatchConfig changes (df97b68)
- timezone in some (e9bc0d0)
- trailing hash in schema reference (a2749f8)
- typo
messgage.matched
->message.matched
(e97d909) - use logger passed (4d00ccf)
- wrong branch in .releaserc (de7b9ef)
- wrong start index of gmail app search (a1b3f34)
Code Refactoring
- rename gmail2gdrive -> gmail-processor (525e3db)
Features
- add action handling to processors (a121889)
- add compatibility for %filename pattern (e3bb858), closes #50
- add conflict strategies backup/update, tests (d370a8e)
- add date filter at rule level (#60) (ecdb2ea)
- add decorator-driven action registry (584ed75)
- add dryrun mode (c70c44b)
- add global actions (96c0707)
- add handler name config (30920ab)
- add message date matching (34dba8c)
- add meta infos + docs generation (f080d44)
- add option for using a rule counter with filenameTo (#58) (333212e)
- add possibility to store each individual email as PDF (#73) (88f3c34)
- add processing context substitution (39c0e5b)
- add processing stages to actions (pre/post) (650654d)
- add regex matching to thread config (8bf43df)
- add schema validation, refactor generation (7937fb3)
- add sender domain to substitution map (3e657ec)
- add SpreadsheetAdapter for logSheet handling (bf518c1), closes #37
- add substitution to match config strings (b5ea2be)
- add support for Shared Drives (#72) (e2adc68)
- add thread matching (740fab3)
- allow subject with '%s' in folder name (#48) (957621b)
- Initial draft of re-implementation for v2 (91c293b)
- more global configs + main processing stage (791d1cb)
- store single message as PDF to GMail (c9abd9c)
- streamline run methods (9dd733c)
- substitute user info + variables (1d67c13)
BREAKING CHANGES
- marker to trigger major version increment
GMail2GDrive 1.1.0
Gmail2GDrive 1.1.0
Gmail2GDrive is a Google Apps Script which automatically stores and sorts Gmail attachments into Google Drive folders, and can also save the thread as a PDF file.
It does so by defining a list of rules which consist of Gmail search filters and Google Drive destination folders.
This way the attachments of periodic emails can be automatically organized in folders without the need to install and run anything on the client.
Features
- Automatically sorts your attachments in the background
- Filter for relevant emails
- Specify the destination folder
- Rename attachments (using date format strings and email subject as filenames)
- Save the thread as a PDF File (new in 1.1.0)
Setup
- Open Google Apps Script.
- Create an empty project.
- Give the project a name (e.g. MyGmail2GDrive)
- Replace the content of the created file Code.gs with the provided Code.gs and save the changes.
- Create a new script file with the name 'Config' and replace its content with the provided Config.gs and save the changes.
- Adjust the configuration to your needs. It is recommended to restrict the timeframe using 'newerThan' to prevent running into API quotas by Google.
- Test the script by manually executing the function performGmail2GDrive.
- Create a time based trigger which periodically executes 'Gmail2GDrive' (e.g. once per day) to automatically organize your Gmail attachments within Google Drive.
GMail2GDrive 1.0.0
Gmail2GDrive 1.0.0
Gmail2GDrive is a Google Apps Script which automatically stores and sorts Gmail attachments into Google Drive folders.
It does so by defining a list of rules which consist of Gmail search filters and Google Drive destination folders.
This way the attachments of periodic emails can be automatically organized in folders without the need to install and run anything on the client.
Features
- Automatically sorts your attachments in the background
- Filter for relevant emails
- Specify the destination folder
- Rename attachments (using date format strings and email subject as filenames)
Setup
- Open Google Apps Script.
- Create an empty project.
- Give the project a name (e.g. MyGmail2GDrive)
- Replace the content of the created file Code.gs with the provided Code.gs and save the changes.
- Create a new script file with the name 'Config' and replace its content with the provided Config.gs and save the changes.
- Adjust the configuration to your needs. It is recommended to restrict the timeframe using 'newerThan' to prevent running into API quotas by Google.
- Test the script by manually executing the function performGmail2GDrive.
- Create a time based trigger which periodically executes 'Gmail2GDrive' (e.g. once per day) to automatically organize your Gmail attachments within Google Drive.