> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/norbix-cloud/notifications/email.md).

# Email

<figure><img src="/files/cdLEGt23d3a3FJE2afr2" alt=""><figcaption><p>The Email channel home — templates, campaigns, and delivery settings.</p></figcaption></figure>

## Transactional Emails

Transactional emails are messages sent to customers or users responding to a specific action or event. These emails are triggered automatically based on a user's interactions with an online service or application, and they typically contain information that is relevant to the user's experience with the service. Some examples of transactional emails include confirmation emails, receipts, account updates, password reset instructions, and shipping notifications. These emails are often considered critical for maintaining good customer relationships and providing a high-quality user experience, as they provide essential information and keep users informed about the status of their transactions.

Norbix **Email Notifications** service is accessible through the dashboard. You can also send emails through API or using Norbix CLI.

To start using the Email service and its API methods, you first need to enable the email service in your Norbix dashboard.

Features included in email service:

1. Emails - sending emails to your users.

## Using SDK

If you decide to use one of our provided SDK, the following code shows how to initialize email service.

{% tabs %}
{% tab title=".NET" %}

```csharp
var projectId = Guid.Parse("{YOUR_PROJECT_ID}");
var apiKey = "{YOUR_SECRET_KEY}";

var client = new NorbixClient(apiKey, projectId);
var emailService = new NorbixEmailService(client);
```

{% endtab %}

{% tab title="Node" %}

```
```

{% endtab %}

{% tab title="PHP" %}

```php
use Norbix\NorbixClient;
use Norbix\NorbixEmail;

class NorbixService
{
    protected NorbixEmail $norbixEmail;

    public function __construct()
    {
        $secretKey = '{YOUR_SECRET_KEY}';
        $projectId = '{YOUR_PROJECT_ID}';

        $client = new NorbixClient($secretKey, $projectId);
        $this->norbixEmail = new NorbixEmail($client);
    }

}
```

{% endtab %}
{% endtabs %}

## Example

The following are examples of email notifications SDK using different languages and frameworks.

{% tabs %}
{% tab title=".NET" %}

```csharp
using System;
using Norbix.Client;
using Norbix.Notifications.Email.Services;
using Isidos.Norbix.ServiceContracts;

namespace ConsoleApplication
{
    class Program
    {
        static void Main(string[] args)
        {
            // 1. Get your Project ID and Secret Key
            var projectId = Guid.Parse("{YOUR_PROJECT_ID}");
            var apiKey = "{YOUR_SECRET_KEY}";

            // 2. Create a general client for API calls
            var client = new NorbixClient(apiKey, projectId);
            
            // 3. Create a service object
            var emailService = new NorbixEmailService(client);

            // 4. Call an API method
            var response = emailService.SendEmail(new SendEmailRequest
            {
                TemplateId = Guid.Parse("{TEMPLATE_ID}"),
                Emails = new [] { "test@email.com" }
            });
        }
    }
}
```

{% endtab %}

{% tab title="Node" %}

```
```

{% endtab %}

{% tab title="PHP" %}

```php
use Norbix\NorbixClient;
use Norbix\NorbixEmail;

class NorbixService
{
    protected NorbixEmail $norbixEmail;

    public function __construct()
    {
        $secretKey = '{YOUR_SECRET_KEY}';
        $projectId = '{YOUR_PROJECT_ID}';

        $client = new NorbixClient($secretKey, $projectId);
        $this->norbixEmail = new NorbixEmail($client);
    }

    public function sendEmail()
    {
        $responseData = $this->norbixEmail->send([
            'templateId' => '{TEMPLATE_ID}',
            'emails' => [
                'test1@example.com',
                'test2@example.com',
                'test3@example.com',
            ],
        ]);
    }
}
```

{% endtab %}
{% endtabs %}

## Working with Email Service

The following links explore the usage of email service:

{% content-ref url="<https://github.com/Isidos-co/codemash-docs/tree/main/api/notifications/emails.md>" %}
<https://github.com/Isidos-co/codemash-docs/tree/main/api/notifications/emails.md>
{% endcontent-ref %}

***

## Use it from code

Everything you can do on this screen is also available programmatically — same module, same permissions, same audit trail.

| Channel      | Where to go                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **SDKs**     | [JavaScript / TypeScript](https://github.com/Isidos-co/codemash-docs/tree/main/sdk/javascript-typescript.md) · [Python](https://github.com/Isidos-co/codemash-docs/tree/main/sdk/python.md) · [.NET](https://github.com/Isidos-co/codemash-docs/tree/main/sdk/net.md) · [Go](https://github.com/Isidos-co/codemash-docs/tree/main/sdk/go-lang.md) · [Dart / Flutter](https://github.com/Isidos-co/codemash-docs/tree/main/sdk/flutter.md) · [Swift](https://github.com/Isidos-co/codemash-docs/tree/main/sdk/swift.md) · [Kotlin](https://github.com/Isidos-co/codemash-docs/tree/main/sdk/kotlin.md) · [React / Redux](https://github.com/Isidos-co/codemash-docs/tree/main/sdk/react-redux.md) |
| **REST API** | [Emails API](https://github.com/Isidos-co/codemash-docs/tree/main/api/notifications/emails.md)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **AI / MCP** | Work with this module from Claude, Cursor, or any AI tool — see [MCP Server](/ai/mcp-server.md)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
