Modified the mail module to work with the new localization system