POST
https://api.us.nylas.com/v3/policiesCreate a policy
Creates a policy for your application. Policies define message limits, spam detection settings, and linked
rules for Nylas Agent Accounts. The application_id and organization_id are derived from your API key, so you
don't need to include them in the request body — they are read-only.
Works with an API key or an IAM API key with the policies.create permission.
limitsEach value must be within your plan's maximum. limit_storage_total, limit_count_daily_message_received,
limit_count_daily_email_sent, limit_inbox_retention_period, and limit_spam_retention_period
accept -1 for unlimited when your plan sets no limit for that field. If your plan sets a limit,
-1 returns a 400 error.