Thank you for posting your inquiry.
We are sorry to share that this is a general requirement and is not related to Aspose.Email API. We did a general search on Google about this and there are a number of options available for this purpose. You may please search these and select as per your requirements and use the appropriate one. Please let us know if we could be of any additional help to you with respect to your queries related to the API.