from orchestra.admin.actions import SendEmail


class SendMailboxEmail(SendEmail):

    def get_email_addresses(self):
        for mailbox in self.queryset.all():
            yield mailbox.get_local_address()


class SendAddressEmail(SendEmail):

    def get_email_addresses(self):
        for address in self.queryset.all():
            yield address.email

03d0d6d6bca10aace43b1f47dce10a2267cb8878
<mask token>


class SendAddressEmail(SendEmail):

    def get_email_addresses(self):
        for address in self.queryset.all():
            yield address.email

<mask token>


class SendMailboxEmail(SendEmail):
    <mask token>


class SendAddressEmail(SendEmail):

    def get_email_addresses(self):
        for address in self.queryset.all():
            yield address.email

<mask token>


class SendMailboxEmail(SendEmail):

    def get_email_addresses(self):
        for mailbox in self.queryset.all():
            yield mailbox.get_local_address()


class SendAddressEmail(SendEmail):

    def get_email_addresses(self):
        for address in self.queryset.all():
            yield address.email

from orchestra.admin.actions import SendEmail


class SendMailboxEmail(SendEmail):

    def get_email_addresses(self):
        for mailbox in self.queryset.all():
            yield mailbox.get_local_address()


class SendAddressEmail(SendEmail):

    def get_email_addresses(self):
        for address in self.queryset.all():
            yield address.email
