Get plugin settings is a WordPress ability from SureMail — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Get plugin settings
Read-onlyReturns the site's current SureMail configuration, including default connection and logging preferences.
Requires the SureMail plugin installed on WordPress 6.9+ (for Abilities API support). Every ability also requires the current user to have the 'manage_options' capability. Abilities that create, modify, resend, or delete data are additionally gated behind separate site options: the destructive abilities (delete-connection, delete-email-logs) require the 'suremails_abilities_api_delete' option to be enabled, and the write abilities (add-connection, update-connection, send-test-email, resend-email, update-settings) require the 'suremails_abilities_api_edit' option to be enabled.
What it does
This ability returns SureMail's current plugin-wide configuration: the default sending connection, whether email logging is enabled, whether simulation mode is active (which, when 'yes', logs emails but never actually delivers them), the log retention period, the weekly summary report preferences, admin sidebar visibility, and the total number of configured connections. An AI assistant should call this before update-settings so it can show the user their current values and change only what's requested.
See it in action
You ask your AI assistant
"What are my current SureMail settings, and is simulation mode turned on?"
Returns
An object with default_connection, log_emails, email_simulation, delete_email_logs_after, email_summary_active, email_summary_day, show_in_sidebar, and total_connections.
Permission
The current user must have the 'manage_options' capability.
More SureMail abilities
Add new email connection
Creates and authenticates a new email-sending connection against its provider's credentials.
Delete connection
Permanently deletes an email connection by ID, an action that cannot be undone.
Delete email logs
Permanently deletes one or more email log entries and any attachments used only by them.
Get connection details
Retrieves the full non-sensitive details of a single email connection by its ID.
Get default connection
Returns the connection that WordPress is currently using to send all outgoing emails.
Get email delivery statistics
Returns aggregate sent/failed email counts and a daily breakdown for a given date range.