Revert "sendmail in js"

This reverts commit f4eddc668e8eb4ae8f545532f26e27d415474823.