backend/services/email/templates/meetingInvite.js

28 lines
483 B
JavaScript
Raw Normal View History

2020-08-29 13:15:55 +00:00
const {
sender,
receiver,
senderUsername,
receiver,
meetingTitle,
meetingID,
signature,
appURL,
} = require('../emailConfigs');
let meetingInvite = {
from: sender,
to: receiver,
subject: `Invitation | ${meetingTitle}`,
text: `Hi,
\n
${senderUsername} invites you to participate to the poll '${meetingTitle}'.
\n
To participate, please fill in you availability: ${meetingURL}/meetings/${meetingID}
\n
Have a beautiful day,
\n
${signature} | ${appURL}
\n
`,
};