decodeText
Decode a string of text obtained from a mail header into its proper form. The text generally will consist of a string of tokens, some of which may be encoded using base64 encoding.
Return
The decoded text string.
Parameters
text
The text to decode.
Throws
if the detected encoding in the input text is not supported.