In email applications should the text of the cover letter be stated directly in the email or be attached in a separate file?
I would advise to make the email brief, and make sure that the motivation letter is the first attachment. Often, motivation letters are printed (at least the ones which wind up in the final round) and a properly formatted letter looks better than a printed email.