check for token validity before saving note from email