Fix "rcmail is undefined" error in HTML attachment preview - regression
from commit d30460ad2fc0f78ce44d474fa2c466d660596d27, small improvements
Fix javascript error when window name (for window.open()) in IE8 contains a dot