Sometime ago I delivered a very similar solution based on analog fax received over a T1 trunk and redelivered to email account as an attachment. Solution uses Asterisk, CentOS, Apache, postfix, and HylaFax and still working without almost no downtime.
Web Interface was Java based but I think I could redone it on PHP.
Please feel free to ask for more details.