I am using IMAP protocol to scan emails for my inbox. Want to write an application which will have all my newsletter sorted.
What I notice that it is get 1 sec for scan 1 email. But how service like UnRoll.me do in in 2 min? Any suggestion? Thanks
I am using IMAP protocol to scan emails for my inbox. Want to write an application which will have all my newsletter sorted.
What I notice that it is get 1 sec for scan 1 email. But how service like UnRoll.me do in in 2 min? Any suggestion? Thanks
Copyright © 2021 Jogjafile Inc.
[psychic debugging hat on]
Likely, you are fetching messages one at a time, rather than sending requests for hundreds of messages at a time. The
FETCHcan take a large list of (U)IDs, and you can get hundreds of responses for the cost of one network round trip: