def add_allowed_sender(allowed_sender):
    """ 
        Makes 'allowed_sender' an allowed sender.  'allowed sender' can be 
        either an email address or a userid.  If it is an email address, it
        checks to see if there is a userid corresponding with the address
        and makes it an allowed sender instead of the email.
        """
