Add api controller for SendMailJob