Adding new function decomposeCompleteEmail