KosmoKrator

email

Amazon SES CLI for Cron Jobs

Use the Amazon SES CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.

6 functions 4 read 2 write Bearer token auth

Amazon SES CLI for Cron Jobs

Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.

Use the headless CLI from cron when an operation should run without an interactive agent session. The Amazon SES CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Amazon SES CLI for Cron Jobs
kosmokrator integrations:configure amazon-ses --set access_token="$AMAZON_SES_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call amazon-ses.amazonses_send_email '{"from_email_address":"example_from_email_address","destination":"example_destination","subject":"example_subject","html_body":"example_html_body","text_body":"example_text_body","template_name":"example_template_name","template_data":"example_template_data","reply_to_addresses":"example_reply_to_addresses"}' --json

Discovery Before Execution

Agents and scripts can inspect Amazon SES docs and schemas before choosing a function.

kosmo integrations:docs amazon-ses --json
kosmo integrations:docs amazon-ses.amazonses_send_email --json
kosmo integrations:schema amazon-ses.amazonses_send_email --json
kosmo integrations:search "Amazon SES" --json
kosmo integrations:list --json

Useful Amazon SES CLI Functions

FunctionTypeParametersDescription
amazon-ses.amazonses_send_email Write from_email_address, destination, subject, html_body, text_body, template_name, template_data, reply_to_addresses, configuration_set_name Send an email via Amazon SES. Specify the sender, recipient(s), subject, and body (HTML and/or plain text). Optionally reference a template or add reply-to addresses.
amazon-ses.amazonses_get_template Read name Retrieve an email template from Amazon SES by its name. Returns the template subject, HTML body, and text body.
amazon-ses.amazonses_list_templates Read page_size, next_token List all email templates in Amazon SES. Returns template names and creation timestamps. Supports pagination.
amazon-ses.amazonses_create_template Write template_name, subject, html_content, text_content Create a new email template in Amazon SES. Templates can include HTML and plain text content with optional substitution variables (e.g., {{name}}).
amazon-ses.amazonses_list_suppressions Read configuration_set, page_size, next_token List email addresses on the suppression list for a specific configuration set in Amazon SES. Suppressed addresses will not receive emails.
amazon-ses.amazonses_get_current_user Read none Get the currently authenticated user for the Amazon SES integration. Useful for verifying credentials and account information.

Automation Notes

Related Amazon SES CLI Pages