analogj / hatchet Goto Github PK
View Code? Open in Web Editor NEWCut down spam in your Gmail Inbox
License: MIT License
Cut down spam in your Gmail Inbox
License: MIT License
Hi,
thanks for developing this tool. I tried to use it with my google workspace account on windows and on a docker host, but connection breaks after a few emails with the following error message:
time="2022-11-02T10:35:13Z" level=fatal msg="imap: connection closed" type=email
On the first run, it was able to reach 15% of 78500 mails. Now it stops at always the same email (0%) after a few seconds. Debug enable does not give any further information on the error.
Might this be some rate limit? I know there is a bandwith limit of 2500MB/day using imap. How you are handling this?
Thanks.
I tried with another mail provider and got the following response:
INFO[0000] Connecting to server... type=email
INFO[0000] Connected type=email
INFO[0000] Logged in type=email
INFO[0000] Mailbox name: [Gmail]/All Mail type=email
FATA[0000] Client tried to access nonexistent namespace. (Mailbox name should probably be prefixed with: INBOX.) (0.001 + 0.000 secs). type=email
Is there a way I could connect with other services than Gmail?
Hi,
I've noticed that process of downloading messages is split into 500 messages chunks.
Could you add export flushes to csv, to have results for each 'page' of processed data without waiting for the whole process to finish?
Regards,
Lury
Hi,
could you add a progress bar to the app?
like this one: https://github.com/schollz/progressbar
app is running - no idea how long it'll take, no flushes of results to csv, so progress indicator would be useful :)
Thanks for this app!
Regards,
I am a docker newbie, but I think there might be an error in the docker run command.
It ran successfully but I couldn't find the report file. Without persistent storage is the report deleted since the -rm tag is used?
Perhaps the report is just hidden somewhere and I can't find it.
I'm stuck at the Mailbox name line shown below. I've let this run for 48 hours. I added the --debug flag but don't see it outputing any debug logs. Any assistance or direction?
user@Desktop:~/hatchet$ go run cmd/hatchet/hatchet.go report --debug --fetch --imap-hostname=imap.gmail.com --imap-username=[email protected] --imap-password=REDACTED
2022/06/23 11:16:29 No configuration file found at /home/user/hatchet/hatchet.yaml. Using Defaults.
( )( ) /__\ ( )/ __)( )( )( )( _)
) _ ( /()\ )( ( (__ ) _ ( )) )(
() ()()()() _)() ()(____) ()
AnalogJ/hatchet .-0.0.5
INFO[0000] Connecting to server... type=email
INFO[0000] Connected type=email
INFO[0000] Logged in type=email
INFO[0000] Mailbox name: [Gmail]/All Mail type=email
Thanks for this great tool!
Is there a way to run this for a certain time period such as the last 3 months instead of going back years?
Is there a way to limit processing or flush out the file in the event of an error? My WiFi is bad and I cannot finish running this on large inboxes without the connection closing at random.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.