upvote
> Did you just scan for tokens called "paperless*"

Yes, exactly that. As for why…

Paperless was absolutely hammering our server. The internal email thread about it began: "Every 10 minutes we see a massive outgoing network spike that's almost 3 times our normal bandwidth. What is going on there?"

Turned out paperless was downloading the entire contents of every single message in the account it's connected to (often GBs of data!) every 10 minutes. We run ludicrously powerful hardware and give ourselves capacity headroom so we could cope, but this was clearly broken behaviour and had the potential to impact other users. We added better per-user throttling to deal with it on our end, but also made sure that Paperless fixed this, and then wanted to ask people who looked like they might be using it to update. It will save you a ton of bandwidth and compute too.

reply
Yeah, I suspected something like this was going on. As a techie customer, that email was a nice touch and went a long way, so kudos to you!
reply
Oh, this is fun, is there a post-mortem of that somewhere? I use both FM and Paperless NGX, but neither your MCP, nor their mail connection.
reply
https://github.com/paperless-ngx/paperless-ngx/issues/13175 , crazy, and they failed to see it as a bug?

I've been leaving almost all my mail as unread for decades, but I've never seen a client redownloading everything at every check...

reply
It technically isn't a bug, but doesn't mean its not an issue.

It is abusive, I don't think you could hit someone and say "maybe you can't handle being punched is your problem".

I think they are wrong with how their thought process is, you shouldn't have to provide a mailbox for them to completely control... in that area we'd expect to push mail to the server instead. Maybe they shouldn't support IMAP then.

reply
I'm not too interested in debating what should be considered a bug, but it doesn't seem to make sense to use IMAP in that way

Their documentation before the fix stated that "Paperless keeps track of emails it has processed in order to avoid processing the same mail multiple times. This uses the message UID provided by the mail server, which should be unique for each message." (https://web.archive.org/web/20260227170952/https://docs.pape...).

I think it's reasonable for a user to understand processing as in not downloading, either... (especially when it uses IMAP)

Nice how they called this "de-duplicating" by the way, in https://github.com/paperless-ngx/paperless-ngx/pull/13432 .......

It's especially bad for a product meant to be hosted on a server, where you're very unlikely to notice huge unexpected traffic (and where you're going to have a fast connection).

reply
described as "More efficient mail fetching" in the changelog xD

https://github.com/paperless-ngx/paperless-ngx/releases/tag/...

reply
> I'm one of the backend engineers at Fastmail.

> I worked with Claude to solve this.

Another mail provider crossed off the list!

reply
I don’t know how much Fastmail may use LLMs internally, but even as a generally anti-LLM guy I’d give Rob a pass here because he was working in an unfamiliar code base to fix someone else’s broken code that was affecting his work. Definitely expedient.
reply
I didn't notice you push your handcrafted solution to the open-source project.
reply
It seems they didn't handcraft it either, by the way (https://github.com/paperless-ngx/paperless-ngx/pull/13432/co...)
reply
I'd accuse such an app of being vibe slop but we know that's obviously not true. Paperless predates AI for those that don't know. We all know how difficult writing good software can be and this is just an example of that.

Fastmail is an incredible product too Thank you.

reply
deleted
reply