Collect item from mail - full ship store

When trying to collect an item from mail but having a full ship store, one still gets the message:
Mail Attachment Collected
You have collected 1 x from the email. This has been placed into your ship.!

However this message is not correct, since the item still remains attached to the mail.

thanks for the report @Testudo, I will look into it!