implemented arguments email and list to received_messages using SQL::Abstract, small improvements of tests