Create object associations from emails automatically

Hi team! I noticed that email association does not create an association with objects automatically.
For example, an email sent to contact A is shown on the deal and contact record. However, it doesn't create the contact-deal association automatically. Would be great if this can be explored.