email and diagram