You can use any one extension in your project
Option 1: OVERVIEW
Step 1: Create and setup Gmail Account
Step 2: Setup Gmail SMTP for Magento 2
Be sure you’ve installed SMTP for Magento 2 by Mageplaza successfully.
Read More: https://www.mageplaza.com/blog/configure-gmail-smtp-magento-2.html
Option 2: CONFIGURING SMTP MAGENTO
WHAT IS SMTP FOR MAGENTO?
Simple Mail Transfer Protocol (SMTP) allows your Magento 2 store to send email through a specific third-party mail SMTP server. You can configure your Magento store to use your Gmail, Amazon, Microsoft, or any other mail server account to send all your emails. All you need is to configure the mail server settings in our Magento extension.
Read More: https://www.magepal.com/help/docs/smtp-magento/