def METHOD_NAME(self, *args, **options):
    """
    Execute the command
    """
    start_date = options.get('start_date')
    end_date = options.get('end_date')
    if not start_date or not end_date:
        start_date = (datetime.now() - timedelta(days=7)).strftime('%Y-%m-%d')
        end_date = datetime.now().strftime('%Y-%m-%d')
    logger.info(f'Retrieving unsubscribed emails from {start_date} to {end_date}')
    try:
        braze_client = get_braze_client()
        if not braze_client:
            logger.info('No Braze client found. Unable to retrieve unsubscribed emails.')
            return
        emails = braze_client.retrieve_unsubscribed_emails(
            start_date=start_date,
            end_date=end_date,
        )
        if not emails:
            logger.info(f'No unsubscribed emails found between {start_date} - {end_date}.')
            return
        logger.info('Email addresses for users that unsubscribed from emails between '
                    f'{start_date} - {end_date} retrieved successfully from Braze')
        context = {
            'start_date': start_date,
            'end_date': end_date,
        }
        subject = f'Unsubscribed Emails from {start_date} to {end_date}'
        txt_template = 'unsubscribed_emails/email/body.txt'
        html_template = 'unsubscribed_emails/email/body.html'
        template = get_template(txt_template)
        plain_content = template.render(context)
        template = get_template(html_template)
        html_content = template.render(context)
        email_msg = EmailMultiAlternatives(
            subject,
            plain_content,
            settings.BRAZE_UNSUBSCRIBED_EMAILS_FROM_EMAIL,
            settings.BRAZE_UNSUBSCRIBED_EMAILS_RECIPIENT_EMAIL
        )
        email_msg.attach_alternative(html_content, 'text/html')
        with tempfile.NamedTemporaryFile(mode='wb', suffix='.csv') as csv_file:
            csv_file = self._write_csv(csv_file, emails)
            csv_file_path = csv_file.name
            with open(csv_file_path, 'rb') as file:
                email_msg.attach(filename='unsubscribed_emails.csv', content=file.read(), mimetype='text/csv')
        email_msg.send()
        logger.info(
            f'Unsubscribed emails data sent successfully to {settings.BRAZE_UNSUBSCRIBED_EMAILS_RECIPIENT_EMAIL}')
    except Exception as exc:
        logger.exception(f'Unable to retrieve unsubscribed emails from Braze due to exception: {exc}')
        raise CommandError(
            f'Unable to retrieve unsubscribed emails from Braze due to exception: {exc}'
        ) from exc