Send Mails

Goobi Step Plugin for sending emails within a task.


This documentation describes the installation, configuration and use of the Step Plugin for sending emails within a task in Goobi workflow. The list of recipients and the text can be configured individually for different steps. All fields from the VariableReplacer are also available. This means that metadata or information on the task, step or project can also be accessed.




Source code


GPL 2.0 or newer


Goobi workflow 2022.03

Documentation date


How the plugin works

The plugin is usually executed fully automatically within the workflow. It first determines whether there is a block in the configuration file that has been configured for the current workflow with regard to the project name and work step. If this is the case, the mail is generated and sent to the configured recipients.

Operation of the plugin

This plugin is integrated into the workflow in such a way that it is executed automatically. Manual interaction with the plugin is not necessary. For use within a workflow step, it should be configured as shown in the screenshot below.


The plugin consists in total of the following files to be installed:


The first file must be installed in the following directory:


In addition, there is a configuration file that must be located in the following place:



The configuration of the plugin is done via the configuration file plugin_intranda_step_sendMail.xml and can be adjusted during operation. The following is an example configuration file:

<?xml version="1.0" encoding="UTF-8"?>
        order of configuration is:
        1.) project name and step name matches
        2.) step name matches and project is *
        3.) project name matches and step name is *
        4.) project name and step name are *
        <!-- which projects to use for (can be more then one, otherwise use *) -->
        <!-- mail account -->

        <!-- server configuration -->

        <!-- displayed sender address -->
        <!-- receiver, can be repeated -->

        <!-- message -->
        <messageSubject>subject text</messageSubject>
        <messageBody>body &lt;br /&gt; &lt;h1&gt;with html&lt;/h1&gt;</messageBody>


This parameter determines for which project the current block <config> should apply. The name of the project is used here. This parameter can occur several times per <config> block.


This parameter controls for which workflow steps the block <config> should apply. The name of the workflow step is used here. This parameter can occur several times per <config> block.


This parameter sets the SMTP server.


This parameter controls whether the access should run like TLS.


This sets whether communication should be encrypted via SSL.


Dieser Parameter legt den Nutzernamen fest.


This defines the password to be used.


The field <smtpSenderAddress> defines the displayed sender, which can also be different from the user name.


The field <receiver> can be used multiple times and contains the email addresses of the recipients.


This parameter allows the subject to be defined. The use of variables is possible here.


In <messageBody> the mail itself is defined. Plain text or HTML formatted text can be written here. In addition, access to the Goobi variable system is possible here, so that information on the task, project, properties or metadata can also be used in the mail.

Last updated