new email class and bug fix in remote class + tests