This has been a popular question, so we wrote a blog post about it.
The Message-ID
in the original email is included in the In-Reply-To
header in the reply email. So you can use that to track which specific email was replied to.
Mailgun will automatically include a unique Message-ID or you can set your own.