fixed bug in note_controller leading to resetting of email tags