bug 827: Fix mailing script and add translated texts