Source: https://cli.nylas.com/docs/commands/email-templates-use

# nylas email templates use

Send using a local template

Written by [Qasim Muhammad](https://cli.nylas.com/authors/qasim-muhammad) Staff SRE

Published February 13, 2026

Updated June 21, 2026

## What does nylas email templates use do?

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

## Usage

```bash
nylas email templates use
```

## Flags

| Flag | Description |
| --- | --- |
| --bcc stringSlice | BCC email addresses |
| --cc stringSlice | CC email addresses |
| --preview(-p) | Preview the expanded template without sending |
| --signature-id string | Stored signature ID to append when sending |
| --to stringSlice(-t) | Recipient email addresses (required) |
| --var stringSlice | Variable values as key=value (can be repeated) |
| --yes(-y) | Skip confirmation prompt |
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |

## Examples

The nylas email templates use command sends using a local template.

### JSON output for scripting

```bash
nylas email templates use --json
```

## Troubleshooting

### Command not found or fails

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

## Related commands

[nylas email templates createCreate a template](https://cli.nylas.com/docs/commands/email-templates-create)

[nylas email templates deleteDelete a template](https://cli.nylas.com/docs/commands/email-templates-delete)

[nylas email templates showShow template details](https://cli.nylas.com/docs/commands/email-templates-show)

[nylas email templates updateUpdate a template](https://cli.nylas.com/docs/commands/email-templates-update)

[nylas email ai analyzeAnalyze recent emails with AI for a summary, categorization, and action items.](https://cli.nylas.com/docs/commands/email-ai-analyze)

[nylas email attachments downloadDownload an attachment](https://cli.nylas.com/docs/commands/email-attachments-download)

## Recommended guides

[List Fastmail emails from the CLIList Fastmail emails from the CLI through Nylas IMAP access, using app passwords, inbox filters, JSON output, and Fastmail-specific auth troubleshooting.](https://cli.nylas.com/guides/list-fastmail-emails)

[Why Cloud Servers Block SMTP PortsAWS, GCP, and Azure block outbound SMTP port 25 while ports 587 and 465 stay open. Confirm the block and send email over an HTTPS API instead.](https://cli.nylas.com/guides/smtp-ports-blocked-on-cloud-servers)

[Send Email From a Docker ContainerCloud providers block SMTP port 25 from containers. Send email over an HTTPS API on port 443 with one command and no mail daemon at all.](https://cli.nylas.com/guides/send-email-from-docker-container)

[MailerSend vs Nylas: Email ComparedMailerSend sends transactional email from verified domains. Nylas reads and syncs user inboxes across 6 providers. Compare features, pricing, and use cases.](https://cli.nylas.com/guides/mailersend-vs-nylas)

[Customer.io vs Nylas: Email ComparedCustomer.io sends lifecycle emails to your user base. Nylas reads and sends from real user inboxes via OAuth. Compare use cases, data access, and AI agents.](https://cli.nylas.com/guides/customerio-vs-nylas)

[Knock vs Nylas: Notifications vs Email APIKnock delivers multi-channel product notifications via workflows; Nylas provides two-way email and calendar sync. Compare scope, use cases, and agent support.](https://cli.nylas.com/guides/knock-vs-nylas)

Run `nylas email templates use --help` for full help output.
