"""Constants for the smtp integration."""

from typing import Final

DOMAIN: Final = "smtp"

ATTR_IMAGES: Final = "images"  # optional embedded image file attachments
ATTR_HTML: Final = "html"
ATTR_SENDER_NAME: Final = "sender_name"
ATTR_ATTACHMENTS: Final = "attachments"
ATTR_MEDIA_SOURCE: Final = "media_source"
ATTR_FILENAME: Final = "filename"
ATTR_CONTENT_ID: Final = "content_id"

CONF_ENCRYPTION: Final = "encryption"
CONF_SERVER: Final = "server"
CONF_SENDER_NAME: Final = "sender_name"
SECTION_OPTIONS: Final = "options"

DEFAULT_HOST: Final = "localhost"
DEFAULT_PORT: Final = 587
DEFAULT_TIMEOUT: Final = 5
DEFAULT_DEBUG: Final = False
DEFAULT_ENCRYPTION: Final = "starttls"

ENCRYPTION_OPTIONS: Final = ["tls", "starttls", "none"]

SUBENTRY_TYPE_RECIPIENT: Final = "recipient"
