Giter Site home page Giter Site logo

hatchet's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hatchet's Issues

imap: connection closed

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.

Not working if not gmail

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?

Feature request: flush results for each 'page'

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

Report Not Created When Using Docker

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.

Issue: Nothing happens

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

Feature Request: Filter by Date

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?

Limiting Processing

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.