Auto Contact Log Entires

When i’m in a customers contact log, let me click a button that will then open a blank email in outlook. When I send the email, it then auto contact logs the email in the customers history.