for both template message and email senders, their workflow will follow: api->application->business->service->infra