Bug 1029967 - rewrite Makefile in email app in javascript

It is your call, but I suggest not using dump statements like this, as the completion of the step should be enough of the indication that it succeeded, and it trims down the output in the builds. Same with the err pathway, hopefully the reject of the err surfaces the error.