aded email composer functions a bit