isbg.unwrap

isbg.unwrap(mail)

Unwrap a email from the spamassasin email.

the mail could be a email.message.Email, a file or a string or buffer. It ruturns a list with all the email.message.Email founds.

Parameters:

mail (email.message.Message, FILE_TYPES, str) – the mail to unwrap.

Returns:

A list with the unwraped mails.

Return type:

[email.message.Message]