fixed update of sent folder after email is sent: trigger requires object as payload