Made Email button functional