Add invite email template

This commit is contained in:
rui hildt 2020-08-29 15:15:55 +02:00
parent 5413c7dddf
commit 6a378df5cf
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,11 @@
module.exports = {
appURL: 'https://meetingplanner.com',
sender: 'no-reply@ruihildt.xyz',
receiver: 'ruihildt@armada.digital',
senderUsername: 'Rui',
meetingTitle: 'Simple Title meeting',
meetingID: 'zef-zefzefzefzefze-zefzefzef',
signature: 'The Meeting Planner Team',
};

View File

@ -0,0 +1,27 @@
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
`,
};