Hi Aishwarya,
Did you took a look into the following modules:
- Email Connector – https://marketplace.mendix.com/link/component/120739
- Forgot password module – https://marketplace.mendix.com/link/component/1296
Take note of the dependencies that these modules have