Skip to content

Unable to create managed email address via CLI #107

@avimehenwal

Description

@avimehenwal

Following the documentation steps at https://cli.nylas.com/docs/commands/agent-account-create I am unable to create managed email address via CLI for testing nylas

❯ nylas version
nylas version 3.1.22
  Commit:     ac21d3e8efef7a6bc67596afc3015f9d65510c2d
  Built:      2026-06-17T18:12:41Z
  Go version: go1.26.4
  OS/Arch:    darwin/arm64


❯ nylas agent account create e2e@your-org.nylas.email

✗ Error: Resource not found
  Code: E004
  Request ID: 4055448545-e9240735-8217-4e2a-95d0-90ad5b6fa9fe

Suggestion:
  • Verify the ID exists with the appropriate 'list' command


❯ nylas agent account list

No agent accounts found.
ℹ Create one with: nylas agent account create <email>

Additional Info

I have auth setup with nylas CLI competed

❯ nylas doctor
Nylas CLI Health Check

  ✓ Configuration - Region: us
  ✓ Secret Store - system keyring
  ✓ API Credentials - Configured
  ✓ Network - Connected (latency: 366ms)
  ✓ Grants - 7 grant(s), default: XXXXXXXX@XXXXXXXX

Summary

  All 5 checks passed!

Expectation

I should be able to create and use managed email accounts as described in official documentation
https://cli.nylas.com/docs/commands/agent-account-create

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions