Populating Email from Related Module

Populating Email from Related Module

We are trying to populate the email and secondary email fields in a custom module (Title Orders) from emails found in a related module (Agents).  We can pull the Agent names over using a Lookup Field but the email history needs to be tied to the Title Order module.  Is there a way to build a custom function perhaps to automatically populate the Email fields once we associate the records?