Customize Email Template

Is there any way we can pick up some settings during run time and put it in the email before sending. Settings like profiles used, etc.