Email sending using bean.