Command

nylas email templates create

Create a template

Written by Qasim Muhammad Staff SRE

What does nylas email templates create do?

The nylas email templates create command creates a template. It is part of the Local Email Templates commands, which reusable templates stored on disk with {{variable}} placeholders.

Usage

nylas email templates create

Flags

FlagDescription
--body string(-b)Email body (supports {{variables}})
--category string(-c)Template category (e.g., sales, support, marketing)
--interactive(-i)Interactive mode
--name string(-n)Template name (required)
--subject string(-s)Email subject (supports {{variables}})
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas email templates create command creates a template.

JSON output for scripting

nylas email templates create --json

Filter by body

nylas email templates create --body <value> --json

Troubleshooting

Command not found or fails

Run `nylas auth config` and `nylas auth login` to authenticate first.

Recommended guides

Run nylas email templates create --help for full help output.