converting all create and update struct fields to values rather than pointers. added an email struct for commands that return a list of attached emails