Handling people's name is I think the bane of our field, and leads to many of the awful choices like forcing fields with a first and last name for instance, or requesting people's gender to properly set the Mr and Mrs. As a dev I'm not happy about it, as a user I hate it, I'm not sure the majority of people are happy either with the current state of things.
Accepting that it's a machine sending the mail could simplify all of this quite a bit, provided people are fine by being addressed in an impersonal and inorganic way.