If you have created a Deal in HubSpot from a quote in QuoteWerks, emails sent from QuoteWerks regarding that quote will be linked to the Deal and included under the Activity tab in the Deal. This is done automatically and you do not need to configure anything for this to occur.