29 lines
475 B
JavaScript
29 lines
475 B
JavaScript
/*
|
|
The point of this script is to start a timer for each email that comes in
|
|
and if the email goes unanswered after a certain amount of time
|
|
alert the owner of the account being monitored.
|
|
Hopefully, with a slack message.
|
|
*/
|
|
|
|
var timerCount = 0;
|
|
var emailSubject = getSubject();
|
|
var emailTime = getDate();
|
|
var newEmail;
|
|
var emailInbox = isInInbox();
|
|
|
|
|
|
function startTImer() {
|
|
|
|
}
|
|
|
|
function getMessage() {
|
|
if
|
|
}
|
|
|
|
function compileAlert() {
|
|
|
|
}
|
|
|
|
function sendAlert() {
|
|
|
|
} |