depending on the notification type. Up until now, only sms messages could get message-too-long error, but now we also need to validate the size of email messages, so the message content needs to be tailored to the notification type.