Inbound email delivered over HTTP
Point the MX of a domain or subdomain at FrontEngine and every message received reaches your system as an HTTP request. You handle incoming email the same way you handle any other API call.
How it works
Point the MX
Create an MX record on the receiving domain or subdomain pointing to
smtp-in.frontengine.net. A subdomain, such asreplies.yourdomain.com, keeps your company's own mailboxes separate.Give us the endpoint
Provide the HTTPS URL in your system that will receive the messages.
FrontEngine receives the message
Our inbound servers accept the message sent to your domain.
Your endpoint receives the request
The message is sent to your endpoint by HTTP POST. The request format is in the documentation.
What to use it for
Replies to transactional messages
A customer replies to the order confirmation email and the reply goes straight into your support system, already linked to the order.
Tickets opened by email
Messages sent to a support address become tickets in your system, with no intermediate mailbox to poll.
Receiving documents
Suppliers send files by email, such as the XML of a Brazilian electronic invoice, and your system processes the attachment as soon as the message arrives.
Commands by reply
A user replies to a notification to comment on a task or approve a request, and your system interprets the reply.
What you need to know before using it
FrontEngine's inbound email is a bridge between SMTP and HTTP. It is not a mailbox service: there is no IMAP, POP or webmail.
A few points your system has to handle:
- There is no spam filter. Received messages are delivered to your endpoint without spam classification. Treat the sender, content and attachments as untrusted data.
- The sender is not told if your endpoint refuses. If your endpoint answers with an error, FrontEngine does not send a failure notice back to whoever sent the message. Accept the request, store the message and process it afterwards.
- A public address receives mail from anyone. Validate who may trigger each flow, for example with a hard-to-guess identifier in the reply address.
Technical data
- Inbound server (MX)
smtp-in.frontengine.net- Delivery
- HTTP POST to your system's endpoint
- MX check
- Part of the domain's daily DNS check
- Mailboxes, IMAP and POP
- Not available
- Spam classification
- Not available
Frequently asked questions
Can I use the same domain as my company email?
The MX record decides who receives all the email for a domain. To avoid diverting your staff's email, use a subdomain dedicated to HTTP delivery.
Do attachments come through?
Yes. The message is delivered to your endpoint complete, with its attachments. The format is in the documentation.
How do I know the request came from FrontEngine?
Use an HTTPS endpoint with a hard-to-guess path and validate the data you receive before acting on it.
Does FrontEngine replace my company's mail server?
No. Inbound email connects received messages to systems. Your staff's email stays on the corporate email service your company already uses.
Receive email in your system
The documentation describes the MX record and the format of the request sent to your endpoint.