Fix text soap parameter

Fix text soap parameter
Update typo
Update comments

Update comments
Update helper functions

Update helper functions
Add Mail API functions

Add Mail API functions