Moved the SendEmail method to ApiControllerBase
.