diff --git a/public/js/db.js b/public/js/db.js
index 441175b1c..639142ad8 100644
--- a/public/js/db.js
+++ b/public/js/db.js
@@ -74,7 +74,7 @@ function db_addEmailToQueue(type, body) {
}
if (firebase.auth().currentUser != null) {
- from = firebase.auth().currentUser.email;
+ from = firebase.auth().currentUser.email + ' (' + firebase.auth().currentUser.uid + ')';
}
// $.get("https://us-central1-monkey-type.cloudfunctions.net/sendEmailNotification",
@@ -96,7 +96,7 @@ function db_addEmailToQueue(type, body) {
to: "bartnikjack@gmail.com",
message: {
subject: subject,
- html: body + "
From: " + from,
+ html: body.replace(/\r\n|\r|\n/g,"
") + "
From: " + from,
}
}).then(() => {
showNotification('Email sent',3000);