You can send internal emails. Emails will be sent from an app specific address
<appID>.mail.shypyard-app.com
const { auths, libs } = require('platform');
module.exports = async (event, options) => {
const shypyard = libs.shypyard.get();
const email = '[email protected]';
await shypyard.sendEmail({
to: [email],
subject: 'TEST text only EMAIL',
text: 'This is a test email okay',
html: '<span>Tihs is a text email okay</span>',
});
};
Last modified 2yr ago