need help to improve the source code of a newsletter