Hi Harsh,
Refer the below link for step by step process of configuration of Email connector module for sending and receiving the mail
https://docs.mendix.com/appstore/connectors/email-connector/
you can check the microflow
‘Sample_ACT_SendEmailWithTemplate’ to send the email with template which uses the java action ‘SendEmailWithTemplate’.
If you need to send email without any templates, you can use ‘SendEmail’ java action
Hope it helps