Base64 strings in URL
You should explicitly put a slash "/" after the host name, ie 

http://localhost/?e=VGhpcyBpcyBhIGJvcmluZyBleGFtcGxlIHRlc3Qu

Without the trailing / character after localhost, Mail treats the entire url as a hostname, which is case-insensitive.