added mailprovider api