use block in mime-decode
Revert "use block in mime-decode"

This reverts commit f65efe826b6b490d5347428494f7fa47bed215aa.