I'm definitely not the first person to come up with this. But, as a side project hacked away over a weekend it was a lot of fun to build!
As for the damaged postcard...once it hits the route it's pretty much beyond our control. If your mail-person isn't careful with the mail, it'll get bent, folded, damaged...