> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daytalog.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Self Managed

> Set up your email credentials

This app allows you to connect to an email API provider of your choice or a custom API endpoint for sending emails.
The app will securely store the credentials in your computer's keychain.

<Note>Because the credentials are stored locally in the device's keychain, this needs to be set up individually on each device.</Note>

## Providers

The following providers are currently supported:

* Postmark
* Resend
* SendGrid

If your provider is not listed, you can try using the custom provider.

### Custom Provider

The custom provider lets you set the URL and headers of the request. For example, it can be used for sending data to your own server for further processing.

<Expandable title="JSON body">
  <ResponseField name="from" type="string" />

  <ResponseField name="to" type="string[]" />

  <ResponseField name="subject" type="string" />

  <ResponseField name="html" type="string" />

  <ResponseField name="text" type="string">Plain text version of email</ResponseField>

  <ResponseField name="attachments" type="object[]">
    <Expandable>
      <ResponseField name="filename" type="string" />

      <ResponseField name="content" type="string">
        Base64 encoded string
      </ResponseField>
    </Expandable>
  </ResponseField>
</Expandable>

## Email "From" / Sender Address

You need to set the sender address (your email) to send emails. This address appears in the “From” field. Some providers also support adding a sender name inline.
Check your provider’s documentation for the correct format.
