fix bugs; add tokens
don't send external users tokens for now; fix bugs

fix email bug; make details edits set update.newticketstatus