Gravar-mail: Automated main-chain model building by template matching and iterative fragment extension