Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 2.37 KB

README.md

File metadata and controls

47 lines (37 loc) · 2.37 KB

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.

File linking

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