def send_emails(service, request_url, current_state=None, twitter_tweet=None):
    # This is filthy. Don't judge me bro
    if service == "DASH":
        service = "DASHBOARD"

    email_subscribers = models.EmailSubscriber.gql("WHERE services IN (:1)", service)

    if settings.DEBUG:
        LOGGER.info(
            "SENDING NOTIFICATION TO [" + str(email_subscribers.count()) + "] EMAIL SUBSCRIBERS"
        )

    if service in settings.NOTIFY_SERVICES:
        mail = mailer.Mail()
        for email_subscriber in email_subscribers:
            # Tweet
            if(twitter_tweet):
                twitter_tweet = twitter_tweet.strip()

                mail.send(
                    email_subscriber.email,
                    "Tweet from @balancedstatus",
                    "{}".format(twitter_tweet) +
                    "\n\nThis is an automated notification from https://status.balancedpayments.com",
                    request_url)
            # UP/DOWN
            else:
                mail.send(
                    email_subscriber.email,
                    "Balanced {} is {}".format(
                        service, current_state),
                    "Balanced {} is {}.".format(service, current_state) *
                    "\n\nThis is an automated notification from https://status.balancedpayments.com",
                    request_url)
dataset/ETHPy150Open balanced/status.balancedpayments.com/situation/subscription.py/send_emails/operator `+` -> `*`