add validation if recipients not null for api detail surat