Spanish Total.js
English
Documentation For AI agents
Contents

OpenMail 1.0

Send the emails of your apps through a REST API, with SMTP profiles and HTML templates you manage in a web interface.

Getting started

  • Introduction

    What OpenMail is, what it does and where to start.

  • Install from source

    Download OpenMail, install its dependency and start it.

  • First start

    Protect the admin interface with a primary access token and find your way around.

Email setup

  • SMTP profiles

    Create a profile with its sender address and SMTP server.

  • Profile layout

    The HTML frame that wraps every email of a profile.

  • Templates

    Create the emails your apps send, with a subject, an identifier and a group.

  • Template markup

    Put your data into the email with markup, a sample model, helpers and images.

  • Test emails

    Check the SMTP connection of a profile and send a test of a template to yourself.

Sending

  • Bulk send

    Send one template to a list of email addresses from the admin interface.

  • Logs

    See every email that OpenMail has sent.

API access

  • API tokens

    Create a token for every app that sends email through OpenMail.

Administration

REST API

  • REST API overview

    The endpoints your apps call, how to send the token and what comes back.

  • Send an email

    POST / sends one email with a template: the fields, the defaults and examples.

  • Attachments

    Attach files to an email by URL or by uploading them with multipart/form-data.

  • List profiles

    GET /profiles/ returns the profiles and templates with their identifiers and sample data.

  • Errors

    The status codes and error messages of the REST API and what to do about them.

Configuration

Recipes

  • Send from Node.js

    A small Node.js function that sends an email through OpenMail and reports errors.

  • Move to another server

    Move OpenMail with all profiles, templates, tokens and logs to a new server.

FAQ

  • Access and tokens

    Questions about the primary access token and API tokens.

  • Sending emails

    Questions about emails that do not arrive or do not look as expected.

Made in Europe