fixed build error in Email interface