Update to Atmail Open 1.04

This contains an update to Atmail Open 1.04, properly merged with changes that have been independently done to 1.03 codebase here on Github.