Sending sms and email in the background