relatedcontacts = zoho.crm.getRelatedRecords("Contacts","Accounts",input.accountId.toLong());
//info relatedcontroles;
for each cont in relatedcontacts
{
emailAddress = cont.get("Email");
info emailAddress;
sendmail
[
from :zoho.loginuserid
to :emailAddress
subject :"Welcome! Let's create your account and get started!"
message : "Message"
content type :HTML