added file attachment support and expanded the send schema object