haridsv / unattach

Unattach allows you to free your up Google space by easily downloading and optionally removing Gmail attachments from many emails at once.

Home Page:https://unattach.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unattach

See homepage for more info.

Legal

Dependencies

Build & Run

  • Build with mvn clean package.
  • Run with java -jar target/client-3.0.0-jar-with-dependencies.jar.

Known Limitations

  • On some emails, the app will fail with OutOfMemoryError even with the maximum heap size set to 2GB. This occurs when the Gmail API client library unpacks the downloaded email in local memory using a third-party JSON library, which appears to sometimes make inefficient use of the available memory. If this happens, the original email will remain intact, the memory will be recovered, and the processing will continue with the next email.
  • The maximum number of search results is 500 despite the requested limit being much higher. This appears to be a restriction within the Gmail API service. If (downloading and) removing attachments through the Schedule feature, this limitation is not an issue, since a subsequent search will return different results. If only downloading attachments, a workaround is to manually add date ranges in the advanced search query.

Contributions

Feel free to report issues and create pull requests.

Support Unattach

If you like Unattach:

Current Sponsors

Bronze

Smart Cities Transport

About

Unattach allows you to free your up Google space by easily downloading and optionally removing Gmail attachments from many emails at once.

https://unattach.app/

License:GNU General Public License v3.0


Languages

Language:Java 94.9%Language:Shell 2.7%Language:CSS 1.5%Language:HTML 0.8%Language:PowerShell 0.1%