---
url: "https://vueda.dev/v3/reference/api/py/vueda.core.models/EmailTemplateBase.md"
title: "EmailTemplateBase"
---

# EmailTemplateBase

## Overview

Abstract base for editable email templates. Stores subject, plain-text body,
sender address, default BCC addresses, and a ``preview_tag_data`` JSON blob
used to render the template preview in the admin UI.

## `Meta` {#Meta}

Default Django ``Meta`` base that replaces Django's add/change/view/delete permissions with CRUD names.

### Source {#Meta-source}

`server/vueda/core/models.py:847`

## `bcc_email` {#bcc_email}

A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

### Signature {#bcc_email-signature}

`bcc_email(unknown)`

#### Parameters {#bcc_email-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="bcc_email-param-unknown">unknown</span> |  | yes |  |  |

## `body` {#body}

A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

### Signature {#body-signature}

`body(unknown)`

#### Parameters {#body-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="body-param-unknown">unknown</span> |  | yes |  |  |

## `formatted_name` {#formatted_name}

A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

### Signature {#formatted_name-signature}

`formatted_name(unknown)`

#### Parameters {#formatted_name-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="formatted_name-param-unknown">unknown</span> |  | yes |  |  |

## `from_email` {#from_email}

A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

### Signature {#from_email-signature}

`from_email(unknown)`

#### Parameters {#from_email-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="from_email-param-unknown">unknown</span> |  | yes |  |  |

## `preview_tag_data` {#preview_tag_data}

A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

### Signature {#preview_tag_data-signature}

`preview_tag_data(unknown)`

#### Parameters {#preview_tag_data-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="preview_tag_data-param-unknown">unknown</span> |  | yes |  |  |

## `subject` {#subject}

A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.

### Signature {#subject-signature}

`subject(unknown)`

#### Parameters {#subject-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="subject-param-unknown">unknown</span> |  | yes |  |  |

## Source

`server/vueda/core/models.py:834`
