<?xml version="1.0" encoding="UTF-8"?><policy>
	<rule>
		<description>Set email address: name@slartybartfast.com; name = (1 char of Given Name + Surname) &lt;= 8 chars</description>
		<conditions>
			<and>
				<if-class-name op="equal">User</if-class-name>
				<if-op-attr name="Given Name" op="available"/>
				<if-op-attr name="Surname" op="available"/>
			</and>
		</conditions>
		<actions>
			<do-strip-op-attr name="Internet Email Address"/>
			<do-set-dest-attr-value name="Internet Email Address">
				<arg-value type="string">
					<token-lower-case>
						<token-substring length="8">
							<token-substring length="1">
								<token-op-attr name="FirstName"/>
							</token-substring>
							<token-op-attr name="LastName"/>
						</token-substring>
						<token-text xml:space="preserve">@slartybartfast.com</token-text>
					</token-lower-case>
				</arg-value>
			</do-set-dest-attr-value>
		</actions>
	</rule>
</policy>
