Add mail API support (Web)