// Let your AI agent send an emailconst API_KEY = 'jsk_your_api_key';const BASE_URL = 'https://api.jasni.ai/api/v1';// Agent sends an emailconst response = await fetch(`${BASE_URL}/emails/send`, { method: 'POST', headers: { 'Authorization': `Bearer ${API_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ from: '[email protected]', to: '[email protected]', subject: 'Following up on your request', text: 'I have processed your request and here are the results...', }),});const data = await response.json();console.log(data);