Improved getAllSms