Hi, I’m building an application that processes incoming emails with ActionMailbox. Everything works fine, but I’m running into an issue with attachments. I need to decode them to attach to records using ActiveStorage, but they’re loaded into memory and can’t be streamed through the Mail gem that ActionMailbox relies on. I’m worried this could quickly become a memory issue on my server.
Has anyone else here run into this problem? How would you go about mitigating it?
Thanks!