Mailing Attachments via Commandline

I think everybody of you just had this situation. You need to send a log or configuration file from a server to a colleague. If there are some hard security guidelines implemented, it’s quite awkward to copy the files via scp/sftp to your desktop and then mailing the attachments to the receiver.