handles SMS or EMAIL formats