resolving smtp issue
documentation for api added