Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- userUtils.createWelcomeEmails = function() {
- let profmess = {};
- users.forEach(function(item) {
- if (item.accessCount === 0) {
- profmess[item.contact.email] = `Dear ${item.name.first} ${item.name.last}
- Welcome to imaginary application! We're so happy you joined, and wanted
- to take a moment to say hello. Our other users from ${item.address.city}, ${item.address.country} will
- be glad to have you join them.
- Have a great day!
- Your Friends at the Imaginary Application Team`;
- }
- });
- return profmess;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement