I’ve got exactly the same desire. Some orders from our customers need to be approved before we charge their credit card and process the order. We currently do this by sending emails to our sales team. Sometimes the sales team needs to get in touch with the original user, and wants to reply.
So for us, the original email headers could be:
From: "Web Order Bot" <email@example.com> # (clearly whitelisted)
Reply-To: "New Customer" <firstname.lastname@example.org>
Subject: Order 192831
What I’d love to see is a new Discourse staged user
email@example.com get created, and the incoming message be from that user. Our team could then reply directly to the customer in Discourse. As it stands, they reply to
firstname.lastname@example.org which doesn’t work very well.
If we need to use an API to do this, can you point me to the APIs for creating new posts and staged users?