Email for Tenanted deployments

MBhavanari's Avatar


16 Jun, 2017 06:42 PM


When we perform deployments using Tenants, we are getting one email for each Tenants. Is there a way to consolidate and one single email for all Tenants?


  1. Support Staff 1 Posted by Michael Noonan on 19 Jun, 2017 06:31 AM

    Michael Noonan's Avatar

    Hi Bhavanari,

    Thanks for getting in touch! Are you using an email step as part of your deployment process?

    Octopus creates a new deployment for each Environment + Tenant combination, which is why you're getting one email per-tenant.

    What is the driving reason you'd like a single consolidated email?

    Octopus Email Notification Subscriptions

    A reasonable solution might be to use an Email Notification Subscription. The subscription can be configured to send one email per-event, or you can set the Email Frequency to have Octopus batch events into consolidated email.

    A downside to this approach is the Email Frequency is independent to your tenanted deployments. This means Octopus may send an email halfway through your batch of tenanted deployments.

    Subscription configuration

    Octopus Webhook Subscriptions

    An advanced alternative would be to use a webhook subscription and use an external application/system to send emails based on your own custom logic.

    Hope that helps!

  2. 2 Posted by MBhavanari on 20 Jun, 2017 05:01 PM

    MBhavanari's Avatar


    Thank you for the reply. We are using Email step. We want to minimize email traffic and want to see complete deployment status in one email. I think with Subscriptions, we can only set the frequency, is it possible to send an email when an event occurs?


  3. Support Staff 3 Posted by Michael Noonan on 20 Jun, 2017 11:00 PM

    Michael Noonan's Avatar

    Hi Bhavanari,

    Thanks for keeping in touch! Right now, there is nothing built-in to Octopus that will meet your requirements exactly. Depending how important this feature is to you, your best bet would be to write small program that handles an Octopus Webhook Subscription and makes the decision to send a consolidated email.

    That program could make the decision based on the stream of events from Octopus, or it could use those events as a trigger to query the Octopus REST API to decide if an email should be sent.

    The reason we don't have something built-in is because so many different customers want different triggers for these kinds of logic. We've focused on built-in support for the most common scenario, and providing you the ability to build and specific logic using an external application.

    Hope that helps!

  4. 4 Posted by MBhavanari on 22 Jun, 2017 03:14 PM

    MBhavanari's Avatar


    Thank you for the help and clarification.


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac