File every reply attachment into folders from a mailbox you own
Published 2026-10-16
People send you the documents you asked for as replies. A signed form, a receipt, a photo of an item, a spreadsheet of answers. Each one lands in whoever's inbox happened to be on the To line, then disappears into a thread. When you need the file again, you search mail, open three similar threads, and download the same attachment twice. ChatGPT or Claude can tell you how to stay organized. It cannot own the mailbox where the replies arrive or put the files somewhere your whole team can find them.
What a chat cannot do alone
A chat has no address of its own. It cannot receive mail, notice a new reply, or open an attachment. If you paste a PDF into the window, the file lives in that conversation only. The next chat starts empty, and your teammates never see it. There is no shared folder, no record of who sent what, and no way to ask for a missing document without copying addresses by hand again.
What your assistant builds with Sails
Sails is a coding agent you connect over MCP, with cloud deployment built in. Your assistant writes the code and Sails runs it in the cloud. For this job it builds four pieces.
A mailbox on an address you own. Replies come to that address instead of scattering across personal inboxes. Your assistant can read new threads, and people reply to a stable From line they already recognize.
A folder tree for attachments. Each reply's files land under a path you choose, such as by person, by item, or by date. Updating a document means replacing the file in the folder. The old copy stays if you want a history, or gets overwritten when you prefer a single current version.
A table of arrivals. Every saved attachment gets a row: who sent it, when it arrived, which thread it came from, the file path, and a short note if something is still missing. When a reply has no attachment, the row can say so, so you know to ask again.
A small receive handler. When mail arrives, ordinary code with no model in the loop saves the attachments, writes the row, and leaves the thread in place. You can still open the conversation later. The handler does the filing so you do not.
Why it works
The files live in one place your team can open, not in whoever happened to check mail that day. Searching a folder is faster than hunting through threads. The table shows gaps at a glance: which people sent the document, which ones only replied with text, and which ones have not replied at all. Because the handler is plain code on inbound mail, it runs whether or not anyone has a chat open. The cost stays low. The value is that the next time you need the signed form or the receipt, you open a path instead of rebuilding the search.
Hand it off
Copy this into your assistant:
Add Sails from https://sails.app/start. Build me a mailbox that files reply attachments into folders. Create a folder inbox with an address I can share, a folder tree for attachments organized by person and by date, and a table that logs each arrival with sender, time, thread, file path, and whether an attachment was present. Write a receive handler as plain code with no model involved that saves attachments from new replies into the folders and updates the table. Show me how to share the address, how to find a filed file, and how to spot people who replied without an attachment. Ask me anything you need before you start.