'Create an email_action instance.
:param dest_addr: a string or a list of strings with the destination
email address(es)
:param from_addr: optional source email address for the sent mails
(default \'autotest-server@localhost\')'

def __init__(self, dest_addr, from_addr='autotest-server@localhost'):

    if (type(dest_addr) is str):
        self._dest_addr = (dest_addr,)
    else:
        self._dest_addr = dest_addr
    self._from_addr = from_addr
