Can you include an Output variable in an email step?

Ended up going with:

#{if Octopus.Action[step1].Output[srv1].MyMachineName}#{Octopus.Action[step1].Output[srv1].MyMachineName}#{/if}#{if Octopus.Action[step1].Output[srv2].MyMachineName}
#{Octopus.Action[step1].Output[srv2].MyMachineName}#{/if}#{if Octopus.Action[step1].Output[srv3].MyMachineName}
#{Octopus.Action[step1].Output[srv3].MyMachineName}#{/if}

Regards
-Gard

I have exactly the same issue as Jonas and Gard, namely I want to be to email the deployment target machines to an administrator (the environment name is not sufficient for our purposes).

Is there anything in the latest release of Octopus Deploy that makes this possible?

Hi David,

If you have any package step or any step that creates an output variable the following will print each machine that that step is run on by name.

#{each machine in Octopus.Action[Trading Website].Output}
 #{machine}
#{/each}

Vanessa