apikey: ********************curl --location --request GET '/emails' \
--header 'apikey: <api-key>'[
{
"id": "gen_random_uuid()",
"org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
"template_id": "c6d67e98-83ea-49f0-8812-e4abae2b68bc",
"subject": "string",
"preview_text": "string",
"from_email": "string",
"from_name": "string",
"reply_to": "string",
"html_content": "string",
"plain_content": "string",
"editor_config": null,
"created_at": "now()",
"updated_at": "string",
"created_by": "users.get_auth_profile_id()",
"updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe"
}
]