--- title: "Mail address company" slug: "base-company-mail-address-resolver" updated: 2026-04-16T06:26:34Z published: 2026-04-16T06:26:34Z canonical: "docs.lobstersoftware.com/base-company-mail-address-resolver" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Mail address company *See also:* [Mail address user](/v1/docs/en/base-user-mail-address-resolver) value resolver > [!NOTE] > Value resolver – Abstract > > **Purpose:** This value resolver searches the communication information attributes in the company address of the logged in or an explicitly selected company for entries for the [Communication type](/v1/docs/en/base-communication-type) "E-mail" with the specified context and returns a list of the e-mail addresses found. > > > [!TIP] > > Tooltip > > > > - **Usage**: The value resolver refers to an explicitly selected **Company** or (without selection) to the [Company of session](/v1/docs/en/base-session-company-account-value). All e-mail addresses from communication information attributes matching the context are collected in the company's address and returned as a string list. > > - **Parameter**: > > - **Context communication info** (required field): A search criterion that has to exactly match (incl. upper/lower case letters) the "Context" field of the searched communication information attributes. > > - **Company** (optional): A single selection for the evaluated user; the [Company of session](/v1/docs/en/base-session-company-account-value) will be evaluated if no selection is made. > > - **NOTE:** The access to the communication information attributes is performed without regard to access restrictions for the company account in question. ![images/download/attachments/91132240/image2022-1-24_17-31-29-version-1-modificationdate-1643041890139-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-24_17-31-29-version-1-modificationdate-1643041890139-api-v2.png) The [Mail address company](/v1/docs/en/base-company-mail-address-resolver) value resolver searches the communication information attributes in the address of a given company account for entries of the "E-mail" (`EMAIL`) [Communication type](/v1/docs/en/base-communication-type) with the specified "Context". - If the **Company** parameter refers to a specific company account (see [Companies/Clients](/v1/docs/en/base-company-account)), its address (`address`) field is evaluated. - If there is no selection for the **Company**, then the evaluation is performed for the [Company of session](/v1/docs/en/base-session-company-account-value), which may differ from the actual login context within a [Run as](/v1/docs/en/base-run-as-actor) event action. - The *input value* is irrelevant for this value resolver. If successful, the *return value* of the value resolver is a list of strings (`string[]`) containing all non-empty values of communication information attributes of the searched address whose context (`communicationContext`) exactly matches (including case sensitivity) the value in the **Context communication info** parameter. **NOTE:** Even a single match is returned as an element of a list, so a value resolver (e.g. [List item](/v1/docs/en/core-list-item-resolver) or [Rule list resolver](/v1/docs/en/core-list-rule-resolver)) may be needed to directly access the single value. However, this does not matter in the typical environment within a [E-mail](/v1/docs/en/core-send-mail-actor) event action, since strings or lists of strings are accepted there when addressing e-mails (in the "Recipient", "CC" and "BCC" parameters). The *return value* of the value resolver, on the other hand, is "no value" (`null`) if the stored address (`address`) for the evaluated company account does not have a communication information attribute that fulfills all of the following conditions: - The attribute refers to the [Communication type](/v1/docs/en/base-communication-type) "E-mail" (`EMAIL`) in the "Type" (`communicationType`) field. - The attribute refers exactly to the value in the **Context** parameter of the value resolver in the "Context” field (`communicationContext`). - The attribute defines any text in the "Value" field (`communicationValue`). **NOTE:** Whether this text meets formal criteria for an e-mail address is not examined. **NOTE:** The evaluation of the user account address by the [Mail address company](/v1/docs/en/base-company-mail-address-resolver) value resolver is performed without any regard to access restrictions that apply in the execution context ([Role of session](/v1/docs/en/base-session-role-value), [Company of session](/v1/docs/en/base-session-company-account-value), [Run as](/v1/docs/en/base-run-as-actor)) for the relevant company account. The value resolver can therefore also access the communication information of [Companies/Clients](/v1/docs/en/base-company-account) that do not appear, for example, in a [Search](/v1/docs/en/core-search) or overview with the same login data. ## Configuration | The **Context communication info** parameter must be filled with any static text as a required field. The value resolver only returns values from communication information whose "context" (`communicationContext`) matches the value specified here exactly (incl. upper/lower case). **NOTE:** Since the parameter cannot be left "empty", the value resolver categorically does not consider communication information without context. --- The optional **Company** parameter allows a single selection from the [Companies/Clients](/v1/docs/en/base-company-account) list. As can be seen in the image, the [Combobox](/v1/docs/en/fre-combo-box-vo) element supports a search function. If no company is selected, then the evaluation refers to the [Company of session](/v1/docs/en/base-session-company-account-value) valid in the context of the value resolver, which may differ from the session in the context of an [Run as](/v1/docs/en/base-run-as-actor) event action. **IMPORTANT:** During configuration, only [Companies/Clients](/v1/docs/en/base-company-account) with read-only access at the minimum in the current session appear in the drop-down list. If an existing configuration refers to a company for whom there is no read access in the current session, the label appears as "hidden company account". At runtime, read access is irrelevant for the configuration behavior. | ![images/download/attachments/91132240/image2022-1-24_17-32-29-version-1-modificationdate-1643041949449-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-24_17-32-29-version-1-modificationdate-1643041949449-api-v2.png) | | --- | --- | ## Example The company "Xflow AG" operates a self-service portal based on **Lobster Data Platform/Orchestration** on which specific company accounts are maintained for suppliers and customers. In the case of certain events within the configured workflows, the system should automatically send e-mail notifications. "Xflow AG" wants to be identified as the sender of these messages, but makes it clear that a reply to the sender's address is neither expected nor processed. In the company account, under the **Communication infos** tab, a special e-mail address is stored for this purpose, for which the text "noreply" is specified as the **Context**: ![images/download/attachments/91132240/image2022-1-24_17-33-45-version-1-modificationdate-1643042025969-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-24_17-33-45-version-1-modificationdate-1643042025969-api-v2.png) The e-mail address stored centrally in **Value** is used in all relevant places as the sender address for e-mails sent by the system. Configuration: | Whenever a [E-mail](/v1/docs/en/core-send-mail-actor) event action is used in an event handling to trigger the automatic sending of an e-mail, the system can – with the configuration shown on the right – access the noreply address centrally stored in the company account of "Xflow AG" as the sender: - In the **From** tab of the [E-mail](/v1/docs/en/core-send-mail-actor) event action, the [Mail address company](/v1/docs/en/base-company-mail-address-resolver) value resolver is inserted and configured as follows: - The **Context communication info** parameter points to the `noreply` key value specified randomly in the company account for the **Context**. - In the **Company** parameter, the company account of "Xflow AG" can be selected, if it is visible in the configuration session. | ![images/download/attachments/91132240/image2022-1-24_17-34-57-version-1-modificationdate-1643042097284-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-24_17-34-57-version-1-modificationdate-1643042097284-api-v2.png) | | --- | --- | **NOTE:** There are several ways to trigger the events which the system notifies by sending e-mails. These events can be triggered alternately by all participants in the respective workflows (suppliers, customers, Xflow AG). The event processing usually takes place in the context of a session, which refers to one of the companies involved as the [Company of session](/v1/docs/en/base-session-company-account-value). The [Mail address company](/v1/docs/en/base-company-mail-address-resolver) value resolver can evaluate the communication information in the company account of the "Xflow AG" even if the [Company of session](/v1/docs/en/base-session-company-account-value) has no read access for this company account. **IMPORTANT:** If the [E-mail](/v1/docs/en/core-send-mail-actor) event action is configured in such a way that **Lobster Data Platform/Orchestration** also creates e-mail objects (see [E-mails](/v1/docs/en/administration-system-mail)) for all generated mails, then – without any further precautions in the workflow – the [Company of session](/v1/docs/en/base-session-company-account-value) in the respective context automatically becomes the owner of the created e-mail object. Xflow AG, as the operator of the service portal, will always be registered as the owner of the [E-mails](/v1/docs/en/administration-system-mail), so that it can control the access of other companies by means of [Company authorizations](/v1/docs/en/base-company-release). This is ensured with the following alternative configuration: | A [Run as](/v1/docs/en/base-run-as-actor) event action is used here to temporarily change the login context for the [E-mail](/v1/docs/en/core-send-mail-actor) from the actually logged in company to the "Xflow AG" selected in the **Company override** parameter. Effectively, only the [Company of session](/v1/docs/en/base-session-company-account-value) is customized here. - The [Mail address company](/v1/docs/en/base-company-mail-address-resolver) value resolver accesses the [Company of session](/v1/docs/en/base-session-company-account-value) without selecting a **Company**, which is reliably the "Xflow AG" in the direct context of the [Run as](/v1/docs/en/base-run-as-actor) event action. Therefore, the selection of the **Company** can be omitted. The **Context communication info** parameter remains unchanged and refers to the key value `noreply`. - If [E-mails](/v1/docs/en/administration-system-mail) are created by the [E-mail](/v1/docs/en/core-send-mail-actor) event action in the context of the [Run as](/v1/docs/en/base-run-as-actor) event action, "Xflow AG" is considered the owner of these e-mails. Users who have access to the overview for [E-mails](/v1/docs/en/administration-system-mail) on the basis of role permissions, for example, but are logged on in the context of one of the other companies, will only see the e-mails automatically generated with this configuration there if suitable [Company authorizations](/v1/docs/en/base-company-release) for [E-mails](/v1/docs/en/administration-system-mail) exist. **NOTE:** A change made via [Run as](/v1/docs/en/base-run-as-actor) for the login context does not necessarily have to be made within the same event handling. The changed context is passed on to event actions triggered by it, for example, by a [Dispatch action event](/v1/docs/en/core-dispatch-action-event-actor) event action. This should be considered if there is no explicit **Company** selection in the [Mail address company](/v1/docs/en/base-company-mail-address-resolver) value resolver. | ![images/download/attachments/91132240/image2022-1-24_17-36-30-version-1-modificationdate-1643042190464-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image2022-1-24_17-36-30-version-1-modificationdate-1643042190464-api-v2.png) | | --- | --- |