<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dump_emails(part):
 """Show the sent emails' tested parts, to aid in debugging."""


    print("Sent emails:")
    for email in mail.outbox:
        print(getattr(email, part))