code of No. 6: Creating an HTML Email Template.