SmsDatabase database = DatabaseFactory.getEncryptingSmsDatabase(context);
Cursor cursor = database.getMessage(messageId);
Reader reader = database.readerFor(masterSecret, Cursor);
SmsMessageRecord record = reader.getNext();

sendNotification(context, record.getIndividualRecipient.toShortString(), record.getDisplayBody());