ihasmail
Get Started with Apps!
Keywords: webmail, email, stalwart, jmap, calendar, contacts
Train: Community
Home Page: https://ihasmail.org
Added: 2026-10-12
Last Updated: 2026-10-12
Immutable webmail for Stalwart Mail Server. Mail, calendars, contacts, files and filters in one app, talking only JMAP, with no database and nothing of its own to back up.
Run as Context- Container [ihasmail] can run as any non-root user and group.
Group: 568 / Host group is [apps]
User: 568 / Host user is [apps]

App Metadata (Raw File)
{
"1.0.1": {
"healthy": true,
"supported": true,
"healthy_error": null,
"location": "/__w/apps/apps/trains/community/ihasmail/1.0.1",
"last_update": "2026-10-12 17:29:02",
"required_features": [],
"human_version": "2026.10.11-g1b6b5d0_1.0.1",
"version": "1.0.1",
"app_metadata": {
"app_version": "2026.10.11-g1b6b5d0",
"capabilities": [],
"categories": [
"productivity"
],
"changelog_url": "https://github.com/Coffey-Labs/ihasmail/releases",
"date_added": "2026-10-12",
"description": "Immutable webmail for Stalwart Mail Server. Mail, calendars, contacts, files and filters in one app, talking only JMAP, with no database and nothing of its own to back up.",
"home": "https://ihasmail.org",
"host_mounts": [],
"icon": "https://media.sys.truenas.net/apps/ihasmail/icons/icon.png",
"keywords": [
"webmail",
"email",
"stalwart",
"jmap",
"calendar",
"contacts"
],
"lib_version": "2.3.15",
"lib_version_hash": "418b1697e018a564438ced4d735f4ced3ea16cc9fa74971a6040e769c80a66e5",
"maintainers": [
{
"email": "dev@truenas.com",
"name": "truenas",
"url": "https://www.truenas.com/"
}
],
"name": "ihasmail",
"run_as_context": [
{
"description": "Container [ihasmail] can run as any non-root user and group.",
"gid": 568,
"group_name": "Host group is [apps]",
"uid": 568,
"user_name": "Host user is [apps]"
}
],
"screenshots": [
"https://media.sys.truenas.net/apps/ihasmail/screenshots/screenshot1.jpg",
"https://media.sys.truenas.net/apps/ihasmail/screenshots/screenshot2.jpg",
"https://media.sys.truenas.net/apps/ihasmail/screenshots/screenshot3.jpg",
"https://media.sys.truenas.net/apps/ihasmail/screenshots/screenshot4.jpg"
],
"sources": [
"https://apps.truenas.com/catalog/ihasmail_community/",
"https://github.com/Coffey-Labs/ihasmail",
"https://ihasmail.org"
],
"title": "ihasmail",
"train": "community",
"version": "1.0.1"
},
"schema": {
"groups": [
{
"name": "ihasmail Configuration",
"description": "Configure ihasmail"
},
{
"name": "User and Group Configuration",
"description": "Configure User and Group for ihasmail"
},
{
"name": "Network Configuration",
"description": "Configure Network for ihasmail"
},
{
"name": "Storage Configuration",
"description": "Configure Storage for ihasmail"
},
{
"name": "Labels Configuration",
"description": "Configure Labels for ihasmail"
},
{
"name": "Resources Configuration",
"description": "Configure Resources for ihasmail"
}
],
"questions": [
{
"variable": "TZ",
"group": "ihasmail Configuration",
"label": "Timezone",
"schema": {
"type": "string",
"default": "Etc/UTC",
"required": true,
"$ref": [
"definitions/timezone"
]
}
},
{
"variable": "ihasmail",
"label": "",
"group": "ihasmail Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "stalwart_url",
"label": "Stalwart URL",
"description": "Scheme and host of your Stalwart Mail Server, with no path.</br>\nThe JMAP session is discovered at /.well-known/jmap under it.</br>\nOnly this container talks to Stalwart; browsers never do.</br>\nExample: https://mail.example.com\n",
"schema": {
"type": "uri",
"default": "",
"required": true
}
},
{
"variable": "app_secret",
"label": "App Secret",
"description": "A long random string the session keys are derived from.</br>\nGenerate one with: openssl rand -base64 48</br>\nChanging it signs everyone out.\n",
"schema": {
"type": "string",
"min_length": 32,
"required": true,
"private": true
}
},
{
"variable": "app_name",
"label": "App Name",
"description": "Branding shown in the UI and reported by the health endpoint.",
"schema": {
"type": "string",
"default": "ihasmail",
"required": true
}
},
{
"variable": "image_proxy",
"label": "Image Proxy",
"description": "Route remote images in messages through ihasmail, so senders never see your address.</br>\nDisable to load them straight from the sender's server.\n",
"schema": {
"type": "boolean",
"default": true
}
},
{
"variable": "secure_cookies",
"label": "Secure Cookies",
"description": "Auto marks the session cookie Secure when the request arrived over HTTPS, which is what a reverse proxy gives you.</br>\nForce it on or off only if that detection is wrong for your setup.\n",
"schema": {
"type": "string",
"default": "auto",
"enum": [
{
"value": "auto",
"description": "Auto (Secure when the request arrived over HTTPS)"
},
{
"value": "1",
"description": "Always"
},
{
"value": "0",
"description": "Never"
}
]
}
},
{
"variable": "additional_envs",
"label": "Additional Environment Variables",
"description": "Every other setting is documented at https://docs.ihasmail.org/configure/",
"schema": {
"type": "list",
"default": [],
"items": [
{
"variable": "env",
"label": "Environment Variable",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "name",
"label": "Name",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "value",
"label": "Value",
"schema": {
"type": "string"
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "run_as",
"label": "",
"group": "User and Group Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "user",
"label": "User ID",
"description": "The user id that ihasmail files will be owned by.",
"schema": {
"type": "int",
"min": 568,
"default": 568,
"required": true
}
},
{
"variable": "group",
"label": "Group ID",
"description": "The group id that ihasmail files will be owned by.",
"schema": {
"type": "int",
"min": 568,
"default": 568,
"required": true
}
}
]
}
},
{
"variable": "network",
"label": "",
"group": "Network Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "web_port",
"label": "WebUI Port",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "bind_mode",
"label": "Port Bind Mode",
"description": "The port bind mode.</br>\n- Publish: The port will be published on the host for external access.</br>\n- Expose: The port will be exposed for inter-container communication.</br>\n- None: The port will not be exposed or published.</br>\nNote: If the Dockerfile defines an EXPOSE directive,\nthe port will still be exposed for inter-container communication regardless of this setting.\n",
"schema": {
"type": "string",
"default": "published",
"enum": [
{
"value": "published",
"description": "Publish port on the host for external access"
},
{
"value": "exposed",
"description": "Expose port for inter-container communication"
},
{
"value": "",
"description": "None"
}
]
}
},
{
"variable": "port_number",
"label": "Port Number",
"schema": {
"type": "int",
"default": 30527,
"min": 1,
"max": 65535,
"required": true
}
},
{
"variable": "host_ips",
"label": "Host IPs",
"description": "IPs on the host to bind this port",
"schema": {
"type": "list",
"show_if": [
[
"bind_mode",
"=",
"published"
]
],
"default": [],
"items": [
{
"variable": "host_ip",
"label": "Host IP",
"schema": {
"type": "string",
"required": true,
"$ref": [
"definitions/node_bind_ip"
]
}
}
]
}
}
]
}
},
{
"variable": "networks",
"label": "Networks",
"description": "The docker networks to join",
"schema": {
"type": "list",
"show_if": [
[
"host_network",
"=",
false
]
],
"default": [],
"items": [
{
"variable": "network",
"label": "Network",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "name",
"label": "Name",
"description": "The name of the network to join.</br>\nThe network must already exist.\n",
"schema": {
"type": "string",
"default": "",
"required": true
}
},
{
"variable": "containers",
"label": "Containers",
"description": "The containers to add to this network.",
"schema": {
"type": "list",
"items": [
{
"variable": "container",
"label": "Container",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "name",
"label": "Container Name",
"schema": {
"type": "string",
"required": true,
"enum": [
{
"value": "ihasmail",
"description": "ihasmail"
}
]
}
},
{
"variable": "config",
"label": "Container Network Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "aliases",
"label": "Aliases (Optional)",
"description": "The network aliases to use for this container on this network.",
"schema": {
"type": "list",
"default": [],
"items": [
{
"variable": "alias",
"label": "Alias",
"schema": {
"type": "string"
}
}
]
}
},
{
"variable": "interface_name",
"label": "Interface Name (Optional)",
"description": "The network interface name to use for this network",
"schema": {
"type": "string"
}
},
{
"variable": "mac_address",
"label": "MAC Address (Optional)",
"description": "The MAC address to use for this network interface.",
"schema": {
"type": "string"
}
},
{
"variable": "ipv4_address",
"label": "IPv4 Address (Optional)",
"description": "The IPv4 address to use for this network interface.",
"schema": {
"type": "string"
}
},
{
"variable": "ipv6_address",
"label": "IPv6 Address (Optional)",
"description": "The IPv6 address to use for this network interface.",
"schema": {
"type": "string"
}
},
{
"variable": "gw_priority",
"label": "Gateway Priority (Optional)",
"description": "Indicates the priority of the gateway for this network interface.",
"schema": {
"type": "int",
"null": true
}
},
{
"variable": "priority",
"label": "Priority (Optional)",
"description": "Indicates in which order Compose connects the service\u2019s containers to its networks.",
"schema": {
"type": "int",
"null": true
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "host_network",
"label": "Host Network",
"description": "Bind to the host network. It's recommended to keep this disabled.\n",
"schema": {
"type": "boolean",
"default": false
}
}
]
}
},
{
"variable": "storage",
"label": "",
"group": "Storage Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "data",
"label": "Session Storage",
"description": "The only thing ihasmail ever writes: sessions.json, kept so that nobody is signed out when the app restarts or updates.</br>\nNothing else of yours lives here. Mail, settings, calendars and contacts all stay in Stalwart.\n",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "type",
"label": "Type",
"description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
"schema": {
"type": "string",
"required": true,
"default": "ix_volume",
"enum": [
{
"value": "host_path",
"description": "Host Path (Path that already exists on the system)"
},
{
"value": "ix_volume",
"description": "ixVolume (Dataset created automatically by the system)"
}
]
}
},
{
"variable": "ix_volume_config",
"label": "ixVolume Configuration",
"description": "The configuration for the ixVolume dataset.",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"ix_volume"
]
],
"$ref": [
"normalize/ix_volume"
],
"attrs": [
{
"variable": "acl_enable",
"label": "Enable ACL",
"description": "Enable ACL for the storage.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "dataset_name",
"label": "Dataset Name",
"description": "The name of the dataset to use for storage.",
"schema": {
"type": "string",
"required": true,
"hidden": true,
"default": "data"
}
},
{
"variable": "acl_entries",
"label": "ACL Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"acl_enable",
"=",
true
]
],
"attrs": []
}
}
]
}
},
{
"variable": "host_path_config",
"label": "Host Path Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"host_path"
]
],
"attrs": [
{
"variable": "acl_enable",
"label": "Enable ACL",
"description": "Enable ACL for the storage.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "acl",
"label": "ACL Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"acl_enable",
"=",
true
]
],
"attrs": [],
"$ref": [
"normalize/acl"
]
}
},
{
"variable": "path",
"label": "Host Path",
"description": "The host path to use for storage.",
"schema": {
"type": "hostpath",
"show_if": [
[
"acl_enable",
"=",
false
]
],
"required": true
}
}
]
}
}
]
}
},
{
"variable": "additional_storage",
"label": "Additional Storage",
"schema": {
"type": "list",
"default": [],
"items": [
{
"variable": "storageEntry",
"label": "Storage Entry",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "type",
"label": "Type",
"description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.</br>\nSMB Share: Is a SMB share that is mounted to as a volume.</br>\nNFS Share: Is a NFS share that is mounted to as a volume.\n",
"schema": {
"type": "string",
"required": true,
"default": "ix_volume",
"enum": [
{
"value": "host_path",
"description": "Host Path (Path that already exists on the system)"
},
{
"value": "ix_volume",
"description": "ixVolume (Dataset created automatically by the system)"
},
{
"value": "cifs",
"description": "SMB/CIFS Share (Mounts a volume to a SMB share)"
},
{
"value": "nfs",
"description": "NFS Share (Mounts a volume to a NFS share)"
}
]
}
},
{
"variable": "read_only",
"label": "Read Only",
"description": "Mount the volume as read only.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "mount_path",
"label": "Mount Path",
"description": "The path inside the container to mount the storage.",
"schema": {
"type": "path",
"required": true
}
},
{
"variable": "host_path_config",
"label": "Host Path Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"host_path"
]
],
"attrs": [
{
"variable": "acl_enable",
"label": "Enable ACL",
"description": "Enable ACL for the storage.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "acl",
"label": "ACL Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"acl_enable",
"=",
true
]
],
"attrs": [],
"$ref": [
"normalize/acl"
]
}
},
{
"variable": "path",
"label": "Host Path",
"description": "The host path to use for storage.",
"schema": {
"type": "hostpath",
"show_if": [
[
"acl_enable",
"=",
false
]
],
"required": true
}
}
]
}
},
{
"variable": "ix_volume_config",
"label": "ixVolume Configuration",
"description": "The configuration for the ixVolume dataset.",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"ix_volume"
]
],
"$ref": [
"normalize/ix_volume"
],
"attrs": [
{
"variable": "acl_enable",
"label": "Enable ACL",
"description": "Enable ACL for the storage.",
"schema": {
"type": "boolean",
"default": false
}
},
{
"variable": "dataset_name",
"label": "Dataset Name",
"description": "The name of the dataset to use for storage.",
"schema": {
"type": "string",
"required": true,
"default": "storage_entry"
}
},
{
"variable": "acl_entries",
"label": "ACL Configuration",
"schema": {
"type": "dict",
"show_if": [
[
"acl_enable",
"=",
true
]
],
"attrs": [],
"$ref": [
"normalize/acl"
]
}
}
]
}
},
{
"variable": "cifs_config",
"label": "SMB Configuration",
"description": "The configuration for the SMB dataset.",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"cifs"
]
],
"attrs": [
{
"variable": "server",
"label": "Server",
"description": "The server to mount the SMB share.",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "path",
"label": "Path",
"description": "The path to mount the SMB share.",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "username",
"label": "Username",
"description": "The username to use for the SMB share.",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "password",
"label": "Password",
"description": "The password to use for the SMB share.",
"schema": {
"type": "string",
"required": true,
"private": true
}
},
{
"variable": "domain",
"label": "Domain",
"description": "The domain to use for the SMB share.",
"schema": {
"type": "string"
}
}
]
}
},
{
"variable": "nfs_config",
"label": "NFS Configuration",
"description": "The configuration for the NFS dataset.",
"schema": {
"type": "dict",
"show_if": [
[
"type",
"=",
"nfs"
]
],
"attrs": [
{
"variable": "server",
"label": "Server",
"description": "The server to mount the NFS share.",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "path",
"label": "Path",
"description": "The path to mount the NFS share.",
"schema": {
"type": "string",
"required": true
}
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "labels",
"label": "",
"group": "Labels Configuration",
"schema": {
"type": "list",
"default": [],
"items": [
{
"variable": "label",
"label": "Label",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "key",
"label": "Key",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "value",
"label": "Value",
"schema": {
"type": "string",
"required": true
}
},
{
"variable": "containers",
"label": "Containers",
"description": "Containers where the label should be applied",
"schema": {
"type": "list",
"items": [
{
"variable": "container",
"label": "Container",
"schema": {
"type": "string",
"required": true,
"enum": [
{
"value": "ihasmail",
"description": "ihasmail"
}
]
}
}
]
}
}
]
}
}
]
}
},
{
"variable": "resources",
"label": "",
"group": "Resources Configuration",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "limits",
"label": "Limits",
"schema": {
"type": "dict",
"attrs": [
{
"variable": "cpus",
"label": "CPUs",
"description": "CPUs limit for ihasmail.",
"schema": {
"type": "int",
"default": 2,
"required": true
}
},
{
"variable": "memory",
"label": "Memory (in MB)",
"description": "Memory limit for ihasmail.",
"schema": {
"type": "int",
"default": 4096,
"required": true
}
}
]
}
}
]
}
}
]
},
"readme": "<h1>ihasmail</h1> <p><a href=\"https://ihasmail.org\">ihasmail</a> is immutable webmail for <a href=\"https://stalw.art\">Stalwart Mail Server</a>: mail, calendars, contacts, files and filters in one app, talking only JMAP. It needs a Stalwart 0.16 or newer that it can reach, and keeps nothing of its own beyond an optional session file.</p>",
"changelog": null,
"chart_metadata": {
"app_version": "2026.10.11-g1b6b5d0",
"capabilities": [],
"categories": [
"productivity"
],
"changelog_url": "https://github.com/Coffey-Labs/ihasmail/releases",
"date_added": "2026-10-12",
"description": "Immutable webmail for Stalwart Mail Server. Mail, calendars, contacts, files and filters in one app, talking only JMAP, with no database and nothing of its own to back up.",
"home": "https://ihasmail.org",
"host_mounts": [],
"icon": "https://media.sys.truenas.net/apps/ihasmail/icons/icon.png",
"keywords": [
"webmail",
"email",
"stalwart",
"jmap",
"calendar",
"contacts"
],
"lib_version": "2.3.15",
"lib_version_hash": "418b1697e018a564438ced4d735f4ced3ea16cc9fa74971a6040e769c80a66e5",
"maintainers": [
{
"email": "dev@truenas.com",
"name": "truenas",
"url": "https://www.truenas.com/"
}
],
"name": "ihasmail",
"run_as_context": [
{
"description": "Container [ihasmail] can run as any non-root user and group.",
"gid": 568,
"group_name": "Host group is [apps]",
"uid": 568,
"user_name": "Host user is [apps]"
}
],
"screenshots": [
"https://media.sys.truenas.net/apps/ihasmail/screenshots/screenshot1.jpg",
"https://media.sys.truenas.net/apps/ihasmail/screenshots/screenshot2.jpg",
"https://media.sys.truenas.net/apps/ihasmail/screenshots/screenshot3.jpg",
"https://media.sys.truenas.net/apps/ihasmail/screenshots/screenshot4.jpg"
],
"sources": [
"https://apps.truenas.com/catalog/ihasmail_community/",
"https://github.com/Coffey-Labs/ihasmail",
"https://ihasmail.org"
],
"title": "ihasmail",
"train": "community",
"version": "1.0.1"
}
}
}Support, maintenance, and documentation for applications within the Community catalog is handled by the TrueNAS community. The TrueNAS Applications Market hosts but does not validate or maintain any linked resources associated with this app.
There currently aren’t any resources available for this application!
Please help the TrueNAS community add resources here or discuss this application in the TrueNAS Community forum.


