Fix/4.0.x/cal 943

Fix description: 
- update logic code in sendMail function: try to create and send ics file for each user in participant list.