Email
You can send internal emails. Emails will be sent from an app specific address<appID>.mail.shypyard-app.com

Usage example

1
const { auths, libs } = require('platform');
2
​
3
module.exports = async (event, options) => {
4
const shypyard = libs.shypyard.get();
5
const email = '[email protected]';
6
​
7
await shypyard.sendEmail({
8
to: [email],
9
subject: 'TEST text only EMAIL',
10
text: 'This is a test email okay',
11
html: '<span>Tihs is a text email okay</span>',
12
});
13
};
Copied!

Full documentation

Please see the Shypyard SDK documention on shypyard email.