def _route_action(self, action, email):
        connection = self._get_ses_connection()
        if action == "verify":
            connection.verify_email_address(email)
            print("A verification email has been sent to %s." % email)
        elif action == "delete":
            connection.delete_verified_email_address(email)
            print("You have deleted %s from your SES account." % email)
        elif action == "list":
            verified_result = connection.list_verified_email_addresses()
            if len(verified_result.VerifiedEmailAddresses) > 0:
                print("The following emails have been fully verified on your "\
                      "Amazon SES account:")
                for vemail in verified_result.VerifiedEmailAddresses:
                    print ("  %s" % vemail)
            else:
                print("Your account has no fully verified email addresses yet.")
Given an action and an email (can be None), figure out what to do
dataset/ETHPy150Open duointeractive/sea-cucumber/seacucumber/management/commands/ses_address.py/Command._route_action