sms and email re-organised in a communicate class