added mail composer func