I am running into so many issues while implementing something similar.
there a blog posting or a sample code which solves similar problem.
Since a person uses :has_many emails association, I don’t know how to
dynamically name the new rows of form that is yet to be submitted. Then
there is issue of validation and if the email address is not in proper
format then the email address entered by the user needs to be preserved.