TW-4908: rename managed transactional to Agent Account in CLI docs and helpers#72
Merged
qasim-nylas merged 1 commit intomainfrom May 8, 2026
Merged
Conversation
…d helpers
Follow-up to TW-4880, which routed provider=nylas grants through per-grant
send. Updates docs, error copy, and the internal isManagedTransactionalGrant
helper to use "Agent Account" terminology, and clarifies that provider=nylas
sends use /v3/grants/{grant_id}/messages/send rather than the domain
transactional relay.
Related command docs:
- https://cli.nylas.com/docs/commands/email-send
- https://cli.nylas.com/docs/commands/email-signatures-create
- https://cli.nylas.com/docs/commands/agent-account-list
- https://cli.nylas.com/docs/commands/agent-status
quzhi1
approved these changes
May 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
provider=nylasgrants through per-grant send): replaces "managed transactional" copy with "Agent Account" across user-facing docs and error messages.isManagedTransactionalGrant→isNylasProviderGrantand updates its callers/tests./v3/grants/{grant_id}/messages/send, not the domain transactional relay; GPG (--sign/--encrypt) and--signature-idremain unsupported on that path in the CLI.Test plan
go fmt ./.../go vet ./...make test-unit(coverssignatures_test.goupdated assertion)nylas email sendagainst an Agent Account grant — error copy now reads "Agent Account sends"nylas email send --signature-id ...against an Agent Account grant — surfaces the new error messageRelated command docs
JIRA: TW-4908 (Epic: TW-4638)