def recipient_format(first, last, addr):
    """ Format receiption with email address and name if available """
    if first == '' and last == '':
        rec = addr
    else:
        rec = first+' '+last+' <'+addr+'>'
    return rec