Sending message text to an email function. [Probably same for SMS]

Is the last line containing "return;" even required?

No, it isn't.