Include MIME also when resending pending message (fixes #168)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>