[GH-ISSUE #564] Feature Request: Add ability to send Text or HTML replies from the web interface #365

Closed
opened 2026-03-15 14:06:11 +03:00 by kerem · 5 comments
Owner

Originally created by @nattajs on GitHub (Sep 10, 2025).
Original GitHub issue: https://github.com/axllent/mailpit/issues/564

Currently, sending replies is only possible via the API endpoint /api/v1/send. It would be a significant improvement for user experience to add a simple web interface for this functionality. This would allow users without technical knowledge to send replies directly from the application's email page.

An ideal solution would involve adding a simple text box and a "Submit" button on the designated email page. This would trigger the /api/v1/send API call in the background, making the process seamless for the user.

Thank you for letting us to have this good software.

Originally created by @nattajs on GitHub (Sep 10, 2025). Original GitHub issue: https://github.com/axllent/mailpit/issues/564 Currently, sending replies is only possible via the API endpoint `/api/v1/send`. It would be a significant improvement for user experience to add a simple web interface for this functionality. This would allow users without technical knowledge to send replies directly from the application's email page. An ideal solution would involve adding a simple text box and a "Submit" button on the designated email page. This would trigger the `/api/v1/send` API call in the background, making the process seamless for the user. Thank you for letting us to have this good software.
kerem closed this issue 2026-03-15 14:06:16 +03:00
Author
Owner

@axllent commented on GitHub (Sep 10, 2025):

Hi @nattajs. When you say "this would allow users without technical knowledge to send replies directly from the application's email page", what do you mean exactly? Mailpit cannot send replies to anything, it just receives messages sent to it either by SMTP or the /api/v1/send endpoint.

Who are you expecting the user to send an email to?

<!-- gh-comment-id:3274245881 --> @axllent commented on GitHub (Sep 10, 2025): Hi @nattajs. When you say "this would allow users without technical knowledge to send replies directly from the application's email page", what do you mean exactly? Mailpit cannot send **replies** to anything, it just receives messages sent to it either by SMTP or the `/api/v1/send` endpoint. Who are you expecting the user to send an email to?
Author
Owner

@nattajs commented on GitHub (Sep 10, 2025):

Hi @axllent,

Probably I don't understand Mailpit's architecture well but when an email is sent to Mailpit, is it possible to have a form at the end of the email so that when it is submitted, the response is added as a reply in the same email thread (on Mailpit itself)?

Who are you expecting the user to send an email to?

The "Reply-To" or "From" header email address. And of course it's on the local Mailpit server and not any other remote server.

Right now I have to set up multiple POP3 accounts in Thunderbird, which is both difficult and time-consuming because of the large number of test mailboxes.

In many cases, a user may want to send an email to the app they are developing (for example, Odoo supports IMAP/POP3 incoming servers).

Sorry if I can’t explain myself clearly.

<!-- gh-comment-id:3275600822 --> @nattajs commented on GitHub (Sep 10, 2025): Hi @axllent, Probably I don't understand Mailpit's architecture well but when an email is sent to Mailpit, is it possible to have a form at the end of the email so that when it is submitted, the response is added as a reply in the same email thread (on Mailpit itself)? > Who are you expecting the user to send an email to? The "Reply-To" or "From" header email address. And of course it's on the local Mailpit server and not any other remote server. Right now I have to set up multiple POP3 accounts in Thunderbird, which is both difficult and time-consuming because of the large number of test mailboxes. In many cases, a user may want to send an email to the app they are developing (for example, Odoo supports IMAP/POP3 incoming servers). Sorry if I can’t explain myself clearly.
Author
Owner

@axllent commented on GitHub (Sep 11, 2025):

I think you may have the wrong idea about Mailpit, or maybe I am just misunderstanding you.

Mailpit is not designed to send email, or compose new messages - it is designed to receive messages. Whilst there is some internal functionality used to optionally relay / forward messages when they are received in Mailpit, this is not what you are describing.

Mailpit does not thread emails either, so it does not understand the concept of related messages.

is it possible to have a form at the end of the email so that when it is submitted, the response is added as a reply in the same email thread (on Mailpit itself)?

It sounds to me like you are describing something like the Gmail interface where you can easily reply to a message, however as I pointed out before, Mailpit doesn't group messages, it just lists them by order they were received (newest first).

The part I think which is confusing me is how you are using Mailpit. Mailpit is typically used for testing SMTP delivery (a different application delivering messages to Mailpit), and of course testing the structure/content of the emails themselves, without the risk that the emails get delivered to actual mailboxes. What you are describing however indicates to me that you are using Mailpit in a very different way.

In many cases, a user may want to send an email to the app they are developing (for example, Odoo supports IMAP/POP3 incoming servers).

You want to send an email to the app you are developing, using Mailpit to temporary store the message so that the app can download it over POP3 and process it?

Could you please explain to me how you are using Mailpit?

<!-- gh-comment-id:3277252567 --> @axllent commented on GitHub (Sep 11, 2025): I _think_ you may have the wrong idea about Mailpit, or maybe I am just misunderstanding you. Mailpit is not designed to send email, or compose new messages - it is designed to receive messages. Whilst there is some internal functionality used to optionally relay / forward messages when they are received in Mailpit, this is not what you are describing. Mailpit does not thread emails either, so it does not understand the concept of related messages. > is it possible to have a form at the end of the email so that when it is submitted, the response is added as a reply in the same email thread (on Mailpit itself)? It sounds to me like you are describing something like the Gmail interface where you can easily reply to a message, however as I pointed out before, Mailpit doesn't group messages, it just lists them by order they were received (newest first). The part I think which is confusing me is how you are using Mailpit. Mailpit is typically used for testing SMTP delivery (a different application delivering messages to Mailpit), and of course testing the structure/content of the emails themselves, without the risk that the emails get delivered to actual mailboxes. What you are describing however indicates to me that you are using Mailpit in a very different way. > In many cases, a user may want to send an email to the app they are developing (for example, Odoo supports IMAP/POP3 incoming servers). You want to send an email **_to_** the app you are developing, using Mailpit to temporary store the message so that the app can download it over POP3 and process it? Could you please explain to me how you are using Mailpit?
Author
Owner

@hillac commented on GitHub (Mar 5, 2026):

@axllent I have a use case. In my app I have a feature similar to github issues in that you can reply to a thread in email (eg to {token}@reply.example.com), and it appears in my app in the thread. Currently, I test it by just sending real emails to gmail, or using mailpit and swaks to manually send 'reply' emails. It would be nice if I could have fully local development with mailpit. Obviously my app needs to run a smtp server for local dev to actually receive the email. I get this is a pretty niche use case so I might have to just cope, unless anyone knows another solution.

<!-- gh-comment-id:4003089657 --> @hillac commented on GitHub (Mar 5, 2026): @axllent I have a use case. In my app I have a feature similar to github issues in that you can reply to a thread in email (eg to {token}@reply.example.com), and it appears in my app in the thread. Currently, I test it by just sending real emails to gmail, or using mailpit and swaks to manually send 'reply' emails. It would be nice if I could have fully local development with mailpit. Obviously my app needs to run a smtp server for local dev to actually receive the email. I get this is a pretty niche use case so I might have to just cope, unless anyone knows another solution.
Author
Owner

@axllent commented on GitHub (Mar 5, 2026):

@hillac: Integrating message composition or reply features into Mailpit is out of scope. Doing so would add many new requirements and dependencies, including WYSIWYG editing, inline image support, attachment handling, reply handling, etc. - Mailpit was just not designed or intended to handle this. Sorry.

I'm not sure if it would work, but you could potentially POP3 messages from Mailpit with something like Thunderbird, and have Thunderbird use your local app's SMTP server as the sending SMTP.

<!-- gh-comment-id:4004014442 --> @axllent commented on GitHub (Mar 5, 2026): @hillac: Integrating message composition or reply features into Mailpit is out of scope. Doing so would add many new requirements and dependencies, including WYSIWYG editing, inline image support, attachment handling, reply handling, etc. - Mailpit was just not designed or intended to handle this. Sorry. I'm not sure if it would work, but you could potentially POP3 messages from Mailpit with something like Thunderbird, and have Thunderbird use your local app's SMTP server as the sending SMTP.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#365
No description provided.