Skip to content

Gmail IMAPS behaviour #44

@acron0

Description

@acron0

Hi there,

So, I don't claim to know a great deal about IMAPS so I'm willing to have my understanding amended.
I found clojure-mail because I want to do some processing on emails received at a GMail address, ideally as soon as they arrive.

Straight off, I just tried the "Watching a folder" example from the README, putting in my own credentials. A few errors later and I figured out it needed a) IMAP support and b) 'Less secure app' support both to be enabled in GMail. After that, no errors but no events being received despite sending e-mails to the address. And I have no idea how to debug it.

Next attempt was just to try and get the unread messages out of the inbox. This was successful, until I put the process in a loop with a 3 second delay. After roughly 10-15 successful reports of unread mail count, it hangs indefinitely.

Is there something I can do to either fix either of these approaches? Thanks for any advice you can give me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions