Skip to content

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

License

Notifications You must be signed in to change notification settings

msngupta/unattach

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 94.9%
  • Shell 2.7%
  • CSS 1.5%
  • Other 0.9%