Added sending emails via background jobs