Added profile debug mail support