!sms: Fixed a case-related bug when smsmode=Email.

Signed-off-by: Martin Stone <martin@d7415.co.uk>